# Install sanity with npm

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches. Version 6.1.0 via npm; verified 2026-06-16.

## Install

```sh
sudo av install npm:sanity
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g sanity
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:sanity
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/sanity>
- **Version:** 6.1.0
- **Source summary:** Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
- **Homepage:** <https://www.sanity.io/>
- **Repository:** <https://github.com/sanity-io/sanity>
- **Upstream docs:** <https://www.sanity.io/>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/sanity/-/sanity-6.1.0.tgz>
- **Issue tracker:** <https://github.com/sanity-io/sanity/issues>
- **Published:** 2026-06-16T15:15:35.814Z
- **Last updated:** 2026-06-16T15:15:35.814Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- sanity (cli)

## Dependencies

- @algorithm.ts/lcs
- @date-fns/tz
- @dnd-kit/core
- @dnd-kit/modifiers
- @dnd-kit/sortable
- @dnd-kit/utilities
- @isaacs/ttlcache
- @mux/mux-player-react
- @portabletext/editor
- @portabletext/html
- @portabletext/patches
- @portabletext/plugin-markdown-shortcuts
- @portabletext/plugin-one-line
- @portabletext/plugin-paste-link
- @portabletext/plugin-typography
- @portabletext/react
- @portabletext/sanity-bridge
- @portabletext/to-html
- @portabletext/toolkit
- @rexxars/react-json-inspector
- @sanity/asset-utils
- @sanity/bifur-client
- @sanity/cli
- @sanity/client
- @sanity/color
- @sanity/comlink
- @sanity/diff
- @sanity/diff-match-patch
- @sanity/diff-patch
- @sanity/eventsource
- @sanity/icons
- @sanity/id-utils
- @sanity/image-url
- @sanity/insert-menu
- @sanity/logos
- @sanity/media-library-types
- @sanity/message-protocol
- @sanity/migrate
- @sanity/mutate
- @sanity/mutator
- @sanity/presentation-comlink
- @sanity/preview-url-secret
- @sanity/prism-groq
- @sanity/schema
- @sanity/sdk
- @sanity/telemetry
- @sanity/types
- @sanity/ui
- @sanity/util
- @sanity/uuid
- @sentry/react
- @tanstack/react-table
- @tanstack/react-virtual
- @xstate/react
- classnames
- color2k
- dataloader
- date-fns
- debug
- exif-component
- fast-deep-equal
- groq-js
- history
- i18next
- is-hotkey-esm
- isomorphic-dompurify
- json-reduce
- json-stable-stringify
- lodash-es
- mendoza
- motion
- nano-pubsub
- nanoid
- observable-callback
- path-to-regexp
- player.style
- polished
- quick-lru
- raf
- react-fast-compare
- react-focus-lock
- react-i18next
- react-is
- react-refractor
- react-rx
- refractor
- rxjs
- rxjs-exhaustmap-with-trailing
- rxjs-mergemap-array
- scroll-into-view-if-needed
- scrollmirror
- semver
- shallow-equals
- speakingurl
- urlpattern-polyfill
- use-device-pixel-ratio
- use-hot-module-reload
- use-sync-external-store
- uuid
- web-vitals
- xstate

## Build dependencies

- @repo/eslint-config
- @repo/package.bundle
- @repo/package.config
- @repo/test-config
- @repo/tsconfig
- @rolldown/plugin-babel
- @sanity/eslint-config-i18n
- @sanity/generate-help-url
- @sanity/pkg-utils
- @sanity/visual-editing-csm
- @testing-library/jest-dom
- @testing-library/react
- @testing-library/user-event
- @types/debug
- @types/lodash-es
- @types/node
- @types/raf
- @types/react
- @types/react-dom
- @types/react-is
- @types/semver
- @types/shallow-equals
- @types/speakingurl
- @types/use-sync-external-store
- @types/wicg-task-scheduling
- @typescript/native-preview
- @vanilla-extract/css
- @vanilla-extract/vite-plugin
- @vitejs/plugin-react
- @vitest/browser-playwright
- @vitest/expect
- babel-plugin-react-compiler
- babel-plugin-styled-components
- blob-polyfill
- eslint
- eslint-plugin-boundaries
- eslint-plugin-testing-library
- globals
- jsdom
- react
- react-dom
- rimraf
- rxjs-etc
- styled-components
- swr
- tsx
- vite
- vitest
- vitest-browser-react
- vitest-package-exports

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.1.0
- Package-manager updated: 2026-06-16
- Local data: ok
- Upstream repository: https://github.com/sanity-io/sanity
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for sanity. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** 2022 07 13: 2.30.3-2022-07-13.4, 4.2.0 Rita Prerelease Tag.0: 4.1.2-4.2.0-rita-prerelease-tag.0.28, E D X937: 3.23.2-EDX937.1, P R L 2022 07 13: 2.30.3-PRL-2022-07-13.5, Activation Dashboard: 2.30.3-activation-dashboard.6, Add Input Error Boundary: 3.45.1-add-input-error-boundary.14, After Pane Break: 3.41.3-after-pane-break.10, Alpha: 5.14.2-alpha.15, Annotationfix: 3.8.2-annotationfix.10, Asset Library: 3.78.1-asset-library.60, Asset Sources: 0.147.0-alpha.2, Before Pane Break: 3.41.3-before-pane-break.11, Bitter Lemon: 3.99.1-bitter-lemon.5, Block Tools Var Fix: 2.11.3-block-tools-var-fix.4, Block Tools White Space Fix: 0.147.0-block-tools-white-space-fix.2, Bump Pkg Utils: 4.1.1-bump-pkg-utils.6, Canary: 5.25.0-canary.20260507124900, Cdr Ga: 2.34.3-cdr-ga.20, Cdr Ga 2: 2.34.3-cdr-ga-2.19, Cdr Ga 4: 2.34.3-cdr-ga-4.23, Cdr Preview: 2.34.3-cdr-preview.20, Cds Unstable: 3.37.3-cds-unstable.27, Cheesy Bites: 0.144.4-cheesy-bites.121, Cli Validate: 3.71.3-cli-validate.41
- **Version Count:** 3,753
- **Maintainers:** sanity-svc.npm, sanity-io
- **Publisher:** sanity-svc.npm
- **Engines:** Node: >=22.12
- **Peer Dependencies:** react, react-dom, styled-components
- **Integrity:** sha512-9x1xpH45OPKbkqkRG8t0LgpcwwNZ632kZwPnu27JUgFQNfsrgLWEKaFEbPAo/G12EhdIG0PoABHgM7TODJ7Tzw==
- **Shasum:** 1482e25ca44800651735ed22b0b52df19744488c
- **Unpacked Size:** 19,886,911
- **File Count:** 0
- **Created At:** 2012-11-19T07:11:38.089Z
- **Latest Published At:** 2026-06-16T15:15:35.814Z
- **Modified At:** 2026-06-16T15:29:06.194Z


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [sanity-codegen](https://www.automicvault.com/pkg/npm/sanity-codegen/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cloud, cloud-infrastructure, cms, groq.
- [storyblok](https://www.automicvault.com/pkg/npm/storyblok/) - Both packages work with overlapping file formats or content types. Shared terms: cli, client, cloud, cloud-infrastructure, cms.
- [storyblok-generate-ts](https://www.automicvault.com/pkg/npm/storyblok-generate-ts/) - Both packages work with overlapping file formats or content types. Shared terms: cli, cloud, cloud-infrastructure, cms, infrastructure.
- [sanity](https://www.automicvault.com/pkg/brew/sanity/) - Same normalized package name exists in another local package ecosystem.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
