# 使用 npm 安装 only-allow

查看 only-allow 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:only-allow
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g only-allow
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:only-allow
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/only-allow>
- **版本:** 1.2.2
- **来源摘要:** Force a specific package manager to be used on a project
- **主页:** <https://github.com/pnpm/only-allow#readme>
- **仓库:** <https://github.com/pnpm/only-allow>
- **上游文档:** <https://github.com/pnpm/only-allow#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/only-allow/-/only-allow-1.2.2.tgz>
- **问题跟踪器:** <https://github.com/pnpm/only-allow/issues>
- **发布时间:** 2025-11-28T14:34:24.293Z
- **最后更新:** 2025-11-28T14:34:24.293Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- only-allow (cli)
- only-allow (别名)

## 依赖

- which-pm-runs

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.2.2
- 管理器更新时间: 2025-11-28
- 本地数据: OK
- 上游仓库: https://github.com/pnpm/only-allow
- notice: The package-manager record has not changed recently.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 only-allow 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.2.2
- **Version Count:** 7
- **Maintainers:** zkochan
- **Author:** Zoltan Kochan
- **Publisher:** zkochan
- **Integrity:** sha512-uxyNYDsCh5YIJ780G7hC5OHjVUr9reHsbZNMM80L9tZlTpb3hUzb36KXgW4ZUGtJKQnGA3xegmWg1BxhWV0jJA==
- **Shasum:** c1aaa8df1c657f8b09e3a42f8c024af10fea3b7b
- **Unpacked Size:** 4,770
- **File Count:** 0
- **Created At:** 2020-05-01T11:16:35.359Z
- **Latest Published At:** 2025-11-28T14:34:24.293Z
- **Modified At:** 2025-11-28T14:34:24.471Z


## 相关链接

- [Package publisher tools](https://www.automicvault.com/zh-hans/pkg/package-publishers/) - Matched curated package taxonomy and local package facts.
- [git-pull-run](https://www.automicvault.com/zh-hans/pkg/npm/git-pull-run/) - Local package facts share a topical domain. Shared terms: bun, manager, npm, pnpm, yarn.
- [ni](https://www.automicvault.com/zh-hans/pkg/brew/ni/) - Local package facts share a topical domain. Shared terms: bun, manager, npm, pnpm, yarn.
- [only-switch](https://www.automicvault.com/zh-hans/pkg/cask/only-switch/) - Local package facts share a topical domain. Shared terms: only.

## 来源

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