Yeoman – the workflow tool
Yeoman prefers to be known as a workflow rather than just a tool. It is actually a collection of three tools that help you manage your workflow efficiently. The tools that come as a part of Yeoman are as follows:
- Yo: This is a scaffolding tool and using the numerous generators available, one can quickly create the skeleton of your project. Yo has a generator to build AngularJS apps and we will be using that later in this chapter.
- Grunt: This is used to run the tasks that will help you preview, test, and build the app.
- Bower: This is an ideal tool for dependency management. Yeoman uses it to automatically search and download the necessary scripts.
Let's go about installing Yeoman and playing around with it a bit.
Installing Yeoman
To install Yeoman, make sure you are running it with administrative privileges. Enter the following command in the terminal:
sudo npm install –g yo
Next, let's install the AngularJS generator using the following command...