# pkg を npm でインストール

pkg のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install npm:pkg
```

追加のインストールコマンド:

### ポータブルおよび言語マネージャ

- npm (100%):

```sh
npm install -g pkg
```

  証拠: local npm package metadata

## パッケージ情報

- **パッケージキー:** npm:pkg
- **パッケージマネージャ:** npm
- **パッケージマネージャページ:** <https://www.npmjs.com/package/pkg>
- **バージョン:** 5.8.1
- **ソース概要:** Package your Node.js project into an executable
- **ホームページ:** <https://github.com/vercel/pkg#readme>
- **リポジトリ:** <https://github.com/vercel/pkg>
- **上流ドキュメント:** <https://github.com/vercel/pkg#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://registry.npmjs.org/pkg/-/pkg-5.8.1.tgz>
- **課題トラッカー:** <https://github.com/vercel/pkg/issues>
- **公開日:** 2023-03-08T01:20:24.948Z
- **最終更新:** 2023-03-08T01:20:24.948Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- pkg (cli)
- pkg (エイリアス)

## 依存関係

- @babel/generator
- @babel/parser
- @babel/types
- chalk
- fs-extra
- globby
- into-stream
- is-core-module
- minimist
- multistream
- pkg-fetch
- prebuild-install
- resolve
- stream-meter

## ビルド依存関係

- @babel/core
- @types/babel__generator
- @types/escodegen
- @types/fs-extra
- @types/is-core-module
- @types/minimist
- @types/multistream
- @types/node
- @types/resolve
- @types/stream-meter
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- eslint
- eslint-config-airbnb-base
- eslint-config-airbnb-typescript
- eslint-config-prettier
- eslint-plugin-import
- json-stable-stringify
- lint-staged
- mkdirp
- prettier
- rimraf
- simple-git-hooks
- typescript

## インストール挙動

- post-install フック: 未定義
- npm ライフサイクルスクリプト: prepare
- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 5.8.1
- マネージャ更新日: 2023-03-08
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/vercel/pkg
- 警告: The package-manager record has not been updated in over a year.
- 情報: No cached GitHub release or tag data was available.

## セキュリティノート

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


## ソースデータベース詳細

- **Source Database:** npm registry
- **Dist Tags:** Beta: 4.3.0-beta.4, Canary: 4.3.8-canary.0, Latest: 5.8.1
- **Version Count:** 97
- **Maintainers:** leerobinson
- **Publisher:** leerobinson
- **Peer Dependencies:** node-notifier
- **Integrity:** sha512-CjBWtFStCfIiT4Bde9QpJy0KeH19jCfwZRJqHFDFXfhUklCx8JoFmMj3wgnEYIwGmZVNkhsStPHEOnrtrQhEXA==
- **Shasum:** 862020f3c0575638ef7d1146f951a54d65ddc984
- **Unpacked Size:** 226,525
- **File Count:** 0
- **Created At:** 2012-08-28T11:59:19.842Z
- **Latest Published At:** 2023-03-08T01:20:24.948Z
- **Modified At:** 2026-07-11T22:29:54.608Z

## 他のパッケージマネージャ記録

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


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Matched curated package taxonomy and local package facts.
- [pkg-fetch](https://pkg.so/ja/npm/pkg-fetch/) - Both packages touch the same language runtime or ecosystem. Shared terms: chalk, cli, cloud, cloud-infrastructure, deployment.
- [gatsby-plugin-s3](https://pkg.so/ja/npm/gatsby-plugin-s3/) - Local package facts share a topical domain. Shared terms: babel, chalk, cli, cloud, cloud-infrastructure.
- [release](https://pkg.so/ja/npm/release/) - Both packages touch the same language runtime or ecosystem. Shared terms: chalk, cli, cloud, cloud-infrastructure, deployment.

## ソース

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
