# Install @sanity/pkg-utils

Simple utilities for modern npm packages. Version 10.5.3 via npm; verified 2026-06-01.

## Install

```sh
sudo av install npm:@sanity/pkg-utils
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g @sanity/pkg-utils
```

  Evidence: local npm package metadata

## Package Facts

- **Package key:** npm:@sanity/pkg-utils
- **Package manager:** npm
- **Package manager URL:** <https://www.npmjs.com/package/@sanity/pkg-utils>
- **Version:** 10.5.3
- **Source summary:** Simple utilities for modern npm packages.
- **Homepage:** <https://github.com/sanity-io/pkg-utils#readme>
- **Repository:** <https://github.com/sanity-io/pkg-utils>
- **Upstream docs:** <https://github.com/sanity-io/pkg-utils#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/@sanity/pkg-utils/-/pkg-utils-10.5.3.tgz>
- **Issue tracker:** <https://github.com/sanity-io/pkg-utils/issues>
- **Published:** 2026-06-08T13:37:14.686Z
- **Last updated:** 2026-06-01T20:03:56.247Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- pkg (cli)
- pkg-utils (cli)
- pkg-utils (alias)

## Dependencies

- @babel/core
- @babel/preset-typescript
- @microsoft/api-extractor
- @microsoft/tsdoc-config
- @optimize-lodash/rollup-plugin
- @rollup/plugin-alias
- @rollup/plugin-babel
- @rollup/plugin-commonjs
- @rollup/plugin-json
- @rollup/plugin-node-resolve
- @rollup/plugin-replace
- @rollup/plugin-terser
- @sanity/browserslist-config
- @sanity/parse-package-json
- @vanilla-extract/rollup-plugin
- browserslist
- cac
- chalk
- chokidar
- empathic
- esbuild
- find-config
- get-latest-version
- git-url-parse
- globby
- jsonc-parser
- lightningcss
- mkdirp
- outdent
- prettier
- pretty-bytes
- prompts
- rimraf
- rolldown
- rolldown-plugin-dts
- rollup
- rollup-plugin-esbuild
- rxjs
- treeify
- tsx
- zod
- zod-validation-error

## Build Dependencies

- @sanity/tsconfig
- @types/babel__core
- @types/find-config
- @types/node
- @types/prompts
- @types/semver
- @types/treeify
- @typescript/native-preview
- babel-plugin-react-compiler
- browserslist-to-esbuild
- nanoexec
- rollup-plugin-visualizer
- semver
- typescript
- vitest

## Install Behavior

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

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 10.5.3
- Package-manager updated: 2026-06-01
- Local data status: ok
- Upstream repository: https://github.com/sanity-io/pkg-utils
- info: No cached GitHub release or tag data was available.

## セキュリティノート

@sanity/pkg-utils に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Beta: 2.0.4-beta.1, Canary: 8.1.30-canary.0, Latest: 10.5.3, Legacy: 6.13.5, Lts: 4.4.4
- **Version Count:** 469
- **Maintainers:** sanity-svc.npm, sanity-io
- **Author:** Sanity.io
- **Publisher:** GitHub Actions
- **Engines:** Node: >=20.19 <22 || >=22.12
- **Peer Dependencies:** babel-plugin-react-compiler, typescript
- **Integrity:** sha512-a1USNJaW6gPqt0KKAG5s/P8oIRItVGSZB4H7K4Ke+SF4Cz4nimg7HvznE/U8cnCeZ+hJPntG3ZhrhuHORrcJlQ==
- **Shasum:** f8fa9dcb28e059330e9559d2779a84b6c789176c
- **Unpacked Size:** 389,586
- **File Count:** 0
- **Created At:** 2022-08-29T07:58:06.436Z
- **Latest Published At:** 2026-06-08T13:37:14.686Z
- **Modified At:** 2026-06-08T13:37:17.077Z

## Other Package-Manager Records

- Nix - pkg: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/pk/pkg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related Links

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Matched curated package taxonomy and local package facts.
- [bunchee](https://www.automicvault.com/ja/pkg/npm/bunchee/) - Both packages touch the same language runtime or ecosystem. Shared terms: commonjs, config, core, json, node.
- [father](https://www.automicvault.com/ja/pkg/npm/father/) - Both packages touch the same language runtime or ecosystem. Shared terms: api, api-extractor, babel, build, core.
- [pkgroll](https://www.automicvault.com/ja/pkg/npm/pkgroll/) - Both packages touch the same language runtime or ecosystem. Shared terms: alias, commonjs, config, esbuild, json.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
