Query Docs
AI/LLM: This documentation page is available in plain markdown format at/query/latest/docs/framework/angular/installation.md
Getting Started
Installation
Angular Query is compatible with Angular v20.1 and higher.
Angular CLI#
shell
ng add @tanstack/angular-queryThis installs the package and devtools, then configures an SSR-safe QueryClient factory with withDevtools().
Package managers#
shell
npm i @tanstack/angular-queryor
shell
pnpm add @tanstack/angular-queryor
shell
yarn add @tanstack/angular-queryor
shell
bun add @tanstack/angular-queryIf you want Angular Query devtools, install the standalone devtools package as well:
shell
npm i @tanstack/angular-query-devtools