Open History to see the last commit
1---
2title: Installation
3id: installation
4---
5β
6You can install TanStack Devtools with any [NPM](https://npmjs.com) package manager.
7β
8Only install one of the following packages depending on your use case:
9β
10## React
11β
12```sh
13npm install -D @tanstack/react-devtools
14npm install -D @tanstack/devtools-vite
15```
16β
17TanStack Devtools is compatible with React v16.8+
18β
19## Preact
20β
21```sh
22npm install -D @tanstack/preact-devtools
23npm install -D @tanstack/devtools-vite
24```
25β
26TanStack Devtools is compatible with Preact v10+
27β
28## Solid
29β
30```sh
31npm install -D @tanstack/solid-devtools
32npm install -D @tanstack/devtools-vite
33```
34β
35TanStack Devtools is compatible with Solid v1.9.5+
36β
37## Vue
38β
39```sh
40npm install -D @tanstack/vue-devtools
41```
42β
43The 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.
44β
45```sh
46npm install -D @tanstack/devtools-vite
47```
48β
49TanStack Devtools is compatible with Vue 3+
50β
51## Svelte
52β
53```sh
54npm install -D @tanstack/svelte-devtools
55```
56β
57The 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.
58β
59```sh
60npm install -D @tanstack/devtools-vite
61```
62β
63TanStack Devtools is compatible with Svelte 5+
64β
65## Angular
66β
67```sh
68npm install -D @tanstack/angular-devtools
69```
70β
71The 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.
72β
73```sh
74npm install -D @tanstack/devtools-vite
75```
76β
77TanStack Devtools is compatible with Angular 19+
78β
79## Vanilla JS
80β
81```sh
82npm install -D @tanstack/devtools
83```
84β
85Install 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.
86β
87β
88## Production Builds
89β
90If you want to have the devtools in production builds, you can install the core `@tanstack/devtools` package as a regular dependency:
91β
92```sh
93npm install @tanstack/devtools
94npm install -D @tanstack/devtools-vite
95```
97β
98Read more about using the devtools in production in our [Production docs](./production).