Showing posts with label Node Js. Show all posts
Showing posts with label Node Js. Show all posts

Saturday, 30 December 2017

How to install angular js using cmd?

We required node js and npm [node package manager] to install angular js.

Lets first verify those prerequisites are installed or not.
Open your command prompt.
type,
node -v  to check node js is installed or not
npm -v to check npm is installed or not 

Check node js and npm is installed or not


If node js and npm installed, type 

npm install @angular/cli -g  
to install angular js on your machine.


Install angular js using cmd : npm install @angular/cli -g





How to update npm [Node Package Manager]?

Open your command prompt,

First, lets check we have installed npm or not. type npm -v on your command prompt.

Check version of npm : npm -v



Now we got the installation version. Here my version is 5.6.0

Lets update npm by using this command,


npm i -g npm


Update npm : npm i -g npm