# 使用 npm 安装 yarn-or-npm

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

## 安装

```sh
sudo av install npm:yarn-or-npm
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g yarn-or-npm
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:yarn-or-npm
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/yarn-or-npm>
- **版本:** 3.0.1
- **来源摘要:** Use Yarn or npm to execute a command
- **仓库:** <https://github.com/camacho/yarn-or-npm>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/yarn-or-npm/-/yarn-or-npm-3.0.1.tgz>
- **发布时间:** 2019-08-21T21:21:08.484Z
- **最后更新:** 2019-08-21T21:21:08.484Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- yarn-or-npm (cli)
- yon (cli)
- yarn-or-npm (别名)

## 依赖

- cross-spawn
- pkg-dir

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.0.1
- 管理器更新时间: 2019-08-21
- 本地数据: OK
- 上游仓库: https://github.com/camacho/yarn-or-npm
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 3.0.1
- **Version Count:** 9
- **Maintainers:** camacho
- **Author:** Patrick Camacho
- **Publisher:** camacho
- **Engines:** Node: >=8.6.0
- **Integrity:** sha512-fTiQP6WbDAh5QZAVdbMQkecZoahnbOjClTQhzv74WX5h2Uaidj1isf9FDes11TKtsZ0/ZVfZsqZ+O3x6aLERHQ==
- **Shasum:** 6336eea4dff7e23e226acc98c1a8ada17a1b8666
- **Unpacked Size:** 5,328
- **File Count:** 0
- **Created At:** 2016-11-02T15:44:55.284Z
- **Latest Published At:** 2019-08-21T21:21:08.484Z
- **Modified At:** 2022-06-29T07:02:54.186Z


## 相关链接

- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [yarn-install](https://pkg.so/zh-hans/npm/yarn-install/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cross, cross-spawn, developer, developer-tools.
- [yarn](https://pkg.so/zh-hans/npm/yarn/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, management, package-management.
- [import-local](https://pkg.so/zh-hans/npm/import-local/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, dir, management.

## 来源

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