yo

CLI tool for running Yeoman generators

Github星跟踪图

yo npm Build Status Coverage Status Gitter OpenCollective

What's Yeoman?

Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive.

To do so, we provide a generator ecosystem. A generator is basically a plugin that can be run with the yo command to scaffold complete projects or useful parts.

Usage

# install yo
npm install --global yo

# install a generator
npm install --global generator-webapp

# run it
yo webapp

To create and distribute your own generator, refer to our official documentation

You can also run a local generator on your computer as such:

# Running a local generator
yo ./path/to/local/generator

Options

  • --no-color - Disable colors.
  • --version - Print the current yo version.
  • --help - Print yo help menu with the list of found generators.
  • --[no-]insight - Toggle anonymous Insight tracking which helps us improve Yeoman. Using either of these flags on the first run will prevent you from being prompted about it interactively. The flags can also be used to change it later on.
  • --generators - Print available generators.
  • --local-only - Disable lookup of globally-installed generators.

Troubleshooting

Running yo doctor command can help you troubleshoot common issues.

If doctor doesn't help, then check opened issues for a similar problem. Open a new issue if your problem haven't been reported yet. Make sure to always include the version of yo (yo --version) and Node.js (node --version) you use.

If your issue only occurs using a generator, please report the issues on the generator's repository.

Contribute

See the contributing docs.

Changelog

See the release page.

Backers

Love Yeoman work and community? Help us keep it alive by donating funds to cover project expenses!
[Become a backer]

License

BSD-2-Clause © Google

主要指标

概览
名称与所有者yeoman/yo
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证BSD 2-Clause "Simplified" License
所有者活动
创建于2013-02-11 13:24:05
推送于2025-06-01 07:49:00
最后一次提交
发布数64
最新版本名称v6.0.0-beta.0 (发布于 2025-04-19 01:23:06)
第一版名称v1.0.0-beta.4 (发布于 2013-04-08 21:15:40)
用户参与
星数3.9k
关注者数105
派生数406
提交数583
已启用问题?
问题数613
打开的问题数44
拉请求数168
打开的拉请求数4
关闭的拉请求数95
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?