# 使用 npm 安装 yo

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

## 安装

```sh
sudo av install npm:yo
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g yo
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:yo
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/yo>
- **版本:** 7.0.1
- **来源摘要:** CLI tool for running Yeoman generators
- **主页:** <http://yeoman.io>
- **仓库:** <https://github.com/yeoman/yo>
- **上游文档:** <http://yeoman.io>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://registry.npmjs.org/yo/-/yo-7.0.1.tgz>
- **问题跟踪器:** <https://github.com/yeoman/yo/issues>
- **发布时间:** 2026-04-09T21:48:40.539Z
- **最后更新:** 2026-04-09T21:48:40.539Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- yo (cli)

## 依赖

- @yeoman/adapter
- @yeoman/types
- chalk
- cli-list
- configstore
- cross-spawn
- figures
- fullname
- global-agent
- humanize-string
- lodash
- meow
- npm-keyword
- open
- package-json
- parse-help
- read-package-up
- root-check
- sort-on
- string-length
- titleize
- update-notifier
- yeoman-character
- yeoman-doctor
- yeoman-environment
- yosay

## 构建依赖

- @node-loaders/esbuild
- c8
- coveralls
- esmocha
- globals
- nock
- registry-url
- sinon
- xo

## 安装行为

- post-install 钩子: 已定义
- npm 生命周期脚本: postinstall
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 7.0.1
- 管理器更新时间: 2026-04-09
- 本地数据: OK
- 上游仓库: https://github.com/yeoman/yo
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 7.0.1, Next: 6.0.0-beta.2, Next 4: 4.0.0-beta.0
- **Version Count:** 50
- **Maintainers:** sboudrias, mischah, ulisesgascon, mshima, joshuakgoldberg, paulirish, eddiemonge, sindresorhus, addyosmani
- **Author:** Yeoman
- **Publisher:** GitHub Actions
- **Engines:** Node: ^20.17.0 || >=22.9.0
- **Integrity:** sha512-HQcOYtTvDJ7BgUFv6aTKZ/QwFLQvpolfXjhK39sztfmHZov5rT6YMb3IULbBYiq678S8VpEpFc3tTtETnUxAiQ==
- **Shasum:** f673f45f93f29bb4bd91448900650e1f9da401d6
- **Unpacked Size:** 33,469
- **File Count:** 0
- **Created At:** 2013-02-04T21:18:35.414Z
- **Latest Published At:** 2026-04-09T21:48:40.539Z
- **Modified At:** 2026-04-09T21:48:40.829Z

## 其他软件包管理器记录

- Nix - yo: normalized package name match | nixpkgs package indexes: pkgs/by-name/yo/yo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Chocolatey - yo: normalized package name match | Chocolatey community package catalog: yo from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.7216','memprofiler'
- winget - martona.yo: normalized package name match | Windows Package Manager source index: martona.yo from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [yo](https://pkg.so/zh-hans/brew/yo/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, developer, developer-tools, generators, running.
- [yeoman-environment](https://pkg.so/zh-hans/npm/yeoman-environment/) - Local metadata places this package in an adjacent workflow. Shared terms: adapter, build, chalk, cli, dev.
- [sao](https://pkg.so/zh-hans/npm/sao/) - Local package facts share a topical domain. Shared terms: chalk, cli, cross, cross-spawn, developer.
- [yo](https://pkg.so/zh-hans/brew/yo/) - Same normalized package name exists in another local package ecosystem.

## 来源

- 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
