Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

installation.md

98 lines2.2 KB

You can install TanStack Devtools with any NPM package manager.

Only install one of the following packages depending on your use case:

React

npm install -D @tanstack/react-devtools
npm install -D @tanstack/devtools-vite

TanStack Devtools is compatible with React v16.8+

Preact

npm install -D @tanstack/preact-devtools
npm install -D @tanstack/devtools-vite

TanStack Devtools is compatible with Preact v10+

Solid

npm install -D @tanstack/solid-devtools
npm install -D @tanstack/devtools-vite

TanStack Devtools is compatible with Solid v1.9.5+

Vue

npm install -D @tanstack/vue-devtools

The Vite plugin (@tanstack/devtools-vite) is optional for Vue β€” it enables additional features like source inspection and console piping but isn't required for basic usage.

npm install -D @tanstack/devtools-vite

TanStack Devtools is compatible with Vue 3+

Svelte

npm install -D @tanstack/svelte-devtools

The Vite plugin (@tanstack/devtools-vite) is optional for Svelte β€” it enables additional features like source inspection and console piping but isn't required for basic usage.

npm install -D @tanstack/devtools-vite

TanStack Devtools is compatible with Svelte 5+

Angular

npm install -D @tanstack/angular-devtools

The Vite plugin (@tanstack/devtools-vite) is optional for Angular β€” it enables additional features like source inspection and console piping but isn't required for basic usage.

npm install -D @tanstack/devtools-vite

TanStack Devtools is compatible with Angular 19+

Vanilla JS

npm install -D @tanstack/devtools

Install the core @tanstack/devtools package to use with any framework or without a framework. Each framework package up above will also re-export everything from this core package.

Production Builds

If you want to have the devtools in production builds, you can install the core @tanstack/devtools package as a regular dependency:

npm install @tanstack/devtools
npm install -D @tanstack/devtools-vite

Read more about using the devtools in production in our Production docs.