# Install sanity-codegen with npm

> ### 👋 A new version is approaching! > > There are a lot of new features (include GROQ codegen!) and changes coming to this lib soon. See this issue for the 1.0 roadmap and for ways you can contri. Version 0.9.8 via npm; verified 2021-11-15.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:sanity-codegen
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/sanity-codegen>
- **Version:** 0.9.8
- **Source summary:** > ### 👋 A new version is approaching! > > There are a lot of new features (include GROQ codegen!) and changes coming to this lib soon. See this issue for the 1.0 roadmap and for ways you can contri
- **Homepage:** <https://github.com/ricokahler/sanity-codegen#readme>
- **Repository:** <https://github.com/ricokahler/sanity-codegen>
- **Upstream docs:** <https://github.com/ricokahler/sanity-codegen#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/sanity-codegen/-/sanity-codegen-0.9.8.tgz>
- **Issue tracker:** <https://github.com/ricokahler/sanity-codegen/issues>
- **Published:** 2021-11-15T01:22:24.716Z
- **Last updated:** 2021-11-15T01:22:24.716Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- sanity-codegen (cli)
- sanity-codegen (alias)

## Dependencies

- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-nullish-coalescing-operator
- @babel/plugin-proposal-numeric-separator
- @babel/plugin-proposal-optional-chaining
- @babel/plugin-transform-runtime
- @babel/register
- @types/prettier
- babel-plugin-css-modules-transform
- babel-plugin-module-resolver
- jsdom-global
- regenerator-runtime

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.9.8
- Package-manager updated: 2021-11-15
- Local data: ok
- Upstream repository: https://github.com/ricokahler/sanity-codegen
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 1.0.0-alpha.45, Latest: 0.9.8
- **Version Count:** 92
- **Maintainers:** ricokahler
- **Author:** Rico Kahler
- **Publisher:** ricokahler
- **Peer Dependencies:** @babel/core, @babel/preset-env, @babel/preset-react, @babel/preset-typescript, prettier
- **Integrity:** sha512-kwyBQioWD4UJBgi1RJx8J/HQ4i753yLgnL5MUwbuAyJZrO9W33anNNawbtcePw9PK+5+IovbSLOs+xicULb2hA==
- **Shasum:** b09b2021e8908a0f9bd7a0db7e8f0b8e1f9ffb57
- **Unpacked Size:** 78,634
- **File Count:** 0
- **Created At:** 2020-11-29T10:54:48.204Z
- **Latest Published At:** 2021-11-15T01:22:24.716Z
- **Modified At:** 2023-05-10T16:21:40.259Z


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [serverless-bundle](https://www.automicvault.com/pkg/npm/serverless-bundle/) - Local package facts share a topical domain. Shared terms: babel, chaining, class, cli, cloud.
- [storyblok-generate-ts](https://www.automicvault.com/pkg/npm/storyblok-generate-ts/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cms, codegen.
- [sanity](https://www.automicvault.com/pkg/npm/sanity/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cloud, cloud-infrastructure, cms, groq.

## Sources

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