-
Notifications
You must be signed in to change notification settings - Fork 71
npm & node Installation or update
Mohammad Umer edited this page May 5, 2016
·
2 revisions
$ npm -v
This would be the output in terminal
umer@Umer:~$ npm -v
3.8.6
-
$ sudo npm install npm -g
-
$ npm -v
3.8.6
$ node -v
-
$ nodejs -v
If it returns the version then it is installed
It would look like this in terminal
umer@Umer:~$ node -v
v6.0.0
umer@Umer:~$ nodejs -v
v4.4.3
$ sudo npm cache clean -f
$ sudo npm install -g n
$ sudo n stable