Installing Angular CLI

Mandeep Singh
1 min readJul 24, 2018

--

Angular CLI is a tool that gives a lot functionality and help us get projects up and running.

In this story i’ll tell you how to install Angular CLI.

Prerequisite : Node.js Should be installed. If is not then got to nodejs.org and download the LTS version and install it.

To check whether node.js is properly installed on your device,

Run command :

node -v

It’ll give out the version of the nodejs installed.If not try installing again.

Node comes with the node package manager {npm}. “Don’t confuse it with dependancy manager.” Check out this for more clarity on the topic.

Node package manager is going to be really important for installing angular packages later.

For Installation of Angular CLI pull up the terminal and enter the following command:

npm install -g @angular/cli 
  • -g means global it installs it on the system rather than linking it to a specific project.

Voila ..!! The CLI is in there.

For other angular commands go here : https://github.com/angular/angular-cli/wiki

--

--