File: installation.md | Updated: 11/15/2025
Search...
+ K
Auto
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Maintainers Partners Support Learn StatsBETA Discord Merch Blog GitHub Ethos Brand Guide
Documentation
Framework
Solid
Version
v5
Search...
+ K
Menu
Getting Started
Guides & Concepts
API Reference
ESLint
Examples
Plugins
Framework
Solid
Version
v5
Menu
Getting Started
Guides & Concepts
API Reference
ESLint
Examples
Plugins
On this page
Copy Markdown
You can install Solid Query via NPM , or a good ol' <script> via ESM.sh .
bash
npm i @tanstack/solid-query
npm i @tanstack/solid-query
or
bash
pnpm add @tanstack/solid-query
pnpm add @tanstack/solid-query
or
bash
yarn add @tanstack/solid-query
yarn add @tanstack/solid-query
or
bash
bun add @tanstack/solid-query
bun add @tanstack/solid-query
Wanna give it a spin before you download? Try out the simple or basic examples!
If you're not using a module bundler or package manager, you can also use this library via an ESM-compatible CDN such as ESM.sh . Simply add a <script type="module"> tag to the bottom of your HTML file:
html
<script type="module">
import { QueryClient } from 'https://esm.sh/@tanstack/solid-query'
</script>
<script type="module">
import { QueryClient } from 'https://esm.sh/@tanstack/solid-query'
</script>
Solid Query is optimized for modern browsers. It is compatible with the following browsers config
Chrome >= 91
Firefox >= 90
Edge >= 91
Safari >= 15
iOS >= 15
Opera >= 77
Chrome >= 91
Firefox >= 90
Edge >= 91
Safari >= 15
iOS >= 15
Opera >= 77
Depending on your environment, you might need to add polyfills. If you want to support older browsers, you need to transpile the library from node_modules yourselves.
[###### Want to Skip the Docs?
Query.gg - The Official React Query Course
\
“If you’re serious about *really* understanding React Query, there’s no better way than with query.gg”—Tanner Linsley
Learn More](https://query.gg/?s=tanstack)
