Installation
Installing the CLI is not a big deal if you have installed Node.js in the previous section. We just need to open your favorite Terminal and execute the following command, and if you are using a Unix-based operating system, remember to add sudo before the command if you have permission issues:
npm install -g aurelia-cli
The preceding command will install the Aurelia CLI as a global executable command-line tool. This allows us to use the CLI with the au command as any other command of our operative system Terminal, for example, the dir command.
After the installation is complete, execute the following command:
au help
This should return the following output that displays the CLI help. As you can see, this command has two main options:
Now that we are sure that it is working as we expected, let's learn how to get the most out of it.