CLI tool for running Yeoman generators


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.

# First install a generator
npm -g install generator-webapp
# Then run it
yo webapp

To find a generator, visit http://yeoman.io/generators/

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

  • --no-color Disable colors.
  • --version Print the current yo version.
  • --help Print yo help menu with the list of found generators.
  • --[no-]insight to 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.

Running yo doctor command can help you troubleshoot most 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.

See the contributing docs.

See the release page.

BSD-2-Clause © Google