Introduction to Yeoman
By Flavio Copes
Learn how Yeoman scaffolds web app projects with yo and generators, so you can spin up a new app without wiring every tool by hand.
Yeoman is a scaffolding tool. You install the yo CLI, pick a generator, and it builds a project starter for you.
The current CLI is yo 7.0.1. Install it globally:
npm install -g yo
Then install a generator. For a generic web app:
npm install -g generator-webapp
Create a project in an empty folder:
yo webapp
Or run yo with no arguments and pick a generator interactively.
The Yeoman learning guide covers the full flow.
Generators decide the stack. Some use npm, some use other package managers. Some wire Vite, Webpack, or something else. Yeoman itself is the scaffolder. The build tools come from whatever generator you choose.
Older posts (including this one, years ago) talked about Bower and Grunt as the default path baked into Yeoman. That is not the modern default. Use a current generator and follow what it installs.
Want me to talk about your product? You can sponsor this site.