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

installation.md

98 lines2.2 KB

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).