yo
    Overview
    Dependencies
    Versions
    Playground
    Code
    Documentation
    Issues
    Find an Expert
    Career Opportunities
    Alternatives
    Insights & Analysis

yo

CLI tool for running Yeoman generators

3.1.0  •  Published 2 months ago  •  by Yeoman  •  BSD 2-Clause "Simplified" License

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

Dependencies

async  ·  chalk  ·  cli-list  ·  configstore  ·  cross-spawn  ·  figures  ·  fullname  ·  global-agent  ·  global-tunnel-ng  ·  got  ·  humanize-string  ·  inquirer  ·  insight  ·  lodash  ·  meow  ·  npm-keyword  ·  open  ·  package-json  ·  parse-help  ·  read-pkg-up  ·  root-check  ·  sort-on  ·  string-length  ·  tabtab  ·  titleize  ·  update-notifier  ·  user-home  ·  yeoman-character  ·  yeoman-doctor  ·  yeoman-environment  ·  yosay  ·  coveralls  ·  mocha  ·  mockery  ·  nock  ·  nyc  ·  proxyquire  ·  registry-url  ·  sinon  ·  xo

Tags

cli-app
cli
front-end
development
dev
build
web
tool
scaffold
stack
yeoman
generator
generate
app
boilerplate
Keep your dependencies fresh!
Upgrade your packages safely and continuously.
We run your CI tests and compatability tests on new versions of your packages - to determine which upgrades are safe
Just $9/month per developer

Popularity

Weekly Downloads
44.8K
Stars
2.8K

Issues and PRs

Activity

Last ver 2 months ago
Created 7 years ago
Last commit 2 months ago
5 days between commits

Sustainability

59 contributors

Technology

Node version: 11.14.0
38.3K unpacked

Legal and Compliance

BSD 2-Clause "Simplified" License
OSI Approved
0 vulnerabilities

Top Experts

Sindre Sorhus
Maintainer, 197 commits, 23 merges, 2 PRs
Simon Boudrias
Maintainer, 111 commits, 42 merges, 13 PRs
Works at appannie
Pascal Hartig
Maintainer, 29 commits, 5 merges, 5 PRs
Works at facebook
Addy Osmani
Maintainer, 20 commits, 11 merges, 1 PRs
Works at Google
Daniel McOrmond
21 commits
Michael Kühnel
Maintainer, 4 commits, 5 merges, 3 PRs
Works at micromata