# npq を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:npq
```

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

### macOS

- Homebrew (100%):

```sh
brew install npq
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:npq
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/npq>
- **バージョン:** 3.20.0
- **ソース概要:** Audit npm packages before you install them
- **ホームページ:** <https://github.com/lirantal/npq>
- **リポジトリ:** <https://github.com/lirantal/npq>
- **上流ドキュメント:** <https://github.com/lirantal/npq#readme>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://registry.npmjs.org/npq/-/npq-3.20.0.tgz>
- **最終更新:** 2026-07-08T09:52:12Z
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- npq (cli)
- npq-hero (cli)
- npq (エイリアス)
- npq-hero (エイリアス)

## 依存関係

- node

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 3.20.0
- マネージャ更新日: 2026-07-08
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/lirantal/npq
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

npq is a Node.js command-line security wrapper that audits npm package installs before handing off to the real package manager. The npm package was created on 2017-11-28, and the GitHub repository was created on 2017-12-14.

### プロジェクトの歴史

The project grew out of concern about npm supply-chain risk: newly published packages, low-download typo targets, missing metadata, vulnerable packages, and pre/post-install scripts. Its README says npq performs syntactic heuristics and queries a CVE database, then delegates the actual install to npm by default or another package manager selected through NPQ_PKG_MGR.

The npm registry metadata consulted for this batch reported latest version 3.19.6 published on 2026-06-03 and 176 published versions. The README also documents npq-hero, an alias/wrapper path for embedding npq into day-to-day npm usage.

### 採用の歴史

npq is smaller than npm-check-updates but has durable adoption among JavaScript developers who want an interactive pre-install safety check. Its README lists third-party coverage and mentions in npm security discussions, and the GitHub metadata consulted for this batch reported about 1.8k stars.

npm's public downloads API reported 32,098 downloads for npq from 2026-05-30 through 2026-06-28 and 171,829 downloads from 2025-06-29 through 2026-06-28. Homebrew analytics reported 1,862 formula installs over its 365-day window.

### 使われ方

Package nerds use npq when installing unfamiliar packages, especially ad hoc CLI tools or direct dependencies discovered during development. Typical usage is npq install express, npx npq install express --dry-run, or aliasing npm to npq-hero so package installs pass through the checks automatically.

npq's checks are intentionally heuristic, not a proof of safety. The useful behavior is friction: warn on risky signals such as very new packages, missing README or license metadata, known vulnerabilities, install scripts, maintainer/publisher concerns, and low popularity before executing the actual package-manager install.

### パッケージ好きにとっての重要性

npq represents the npm ecosystem's shift from post-install vulnerability scanning toward pre-install package-health review. It is part of the same cultural space as minimum release age, lockfile linting, provenance checks, and package firewalls.

### タイムライン

- 2017-11-28: npm registry package npq created.
- 2017-12-14: GitHub repository lirantal/npq created.
- 2026-06-03: npm registry metadata reports version 3.19.6 published.

### Related projects

- npm audit
- Snyk
- Socket Firewall
- lockfile-lint
- npq-hero
- pnpm
- bun

### ソース

- <https://api.github.com/repos/lirantal/npq>
- <https://api.npmjs.org/downloads/point/last-month/npq>
- <https://api.npmjs.org/downloads/point/last-year/npq>
- <https://formulae.brew.sh/api/formula/npq.json>
- <https://github.com/lirantal/npm-security-best-practices>
- <https://github.com/lirantal/npq>
- <https://registry.npmjs.org/npq>


## セキュリティノート

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


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

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** npq
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/ja/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://www.automicvault.com/ja/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [osv-scanner](https://www.automicvault.com/ja/pkg/brew/osv-scanner/) - Shares av.db curated category or tags: cli, security, supply-chain.
- [pip-audit](https://www.automicvault.com/ja/pkg/brew/pip-audit/) - Shares av.db curated category or tags: cli, security, supply-chain.
- [pwned](https://www.automicvault.com/ja/pkg/brew/pwned/) - Shares av.db curated category or tags: cli, nodejs, security.
- [ratchet](https://www.automicvault.com/ja/pkg/brew/ratchet/) - Shares av.db curated category or tags: cli, security, supply-chain.
- [scorecard](https://www.automicvault.com/ja/pkg/brew/scorecard/) - Shares av.db curated category or tags: cli, security, supply-chain.
- [aide](https://www.automicvault.com/ja/pkg/brew/aide/) - Shares av.db curated category or tags: cli, security.
- [aircrack-ng](https://www.automicvault.com/ja/pkg/brew/aircrack-ng/) - Shares av.db curated category or tags: cli, security.
- [amass](https://www.automicvault.com/ja/pkg/brew/amass/) - Shares av.db curated category or tags: cli, security.
- [cdxgen](https://www.automicvault.com/ja/pkg/brew/cdxgen/) - Both packages touch the same language runtime or ecosystem. Shared terms: audit, chain, cli, node, security.

## Combined YAML source

View the package source record on GitHub. [combined/npq.yml](https://github.com/automic-vault/db/blob/main/combined/npq.yml)


## ソース

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