TanStack
Getting Started

Installation

Angular Query is compatible with Angular v20.1 and higher.

Angular CLI

shell
ng add @tanstack/angular-query

This installs the package and devtools, then configures an SSR-safe QueryClient factory with withDevtools().

Package managers

shell
npm i @tanstack/angular-query

or

shell
pnpm add @tanstack/angular-query

or

shell
yarn add @tanstack/angular-query

or

shell
bun add @tanstack/angular-query

If you want Angular Query devtools, install the standalone devtools package as well:

shell
npm i @tanstack/angular-query-devtools

Want to try it first? See the simple or basic example.