How to install Angular

First step with Angular

First, you have to download Node.js and install it. Do not hesitate to double-check with the command:

npm -v

You must have the version 5.6.0 or higher.

Then, you need the TypeScript with the command:

npm install -g typescript

Finally, let's install Angular itself with the following command:

npm install -g @angular/cli

npm --version to check the version

Now you are ready to  code your first Angular application ! Congratulations !

 

Don't forget to explore all the possible command with:

ng --help
Wrote by Raspaud Alexandre at November 1 2018, contact alexandre.raspaud@gmail.com.