You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mohammad Umer edited this page May 5, 2016
·
2 revisions
Linux & Mac (Slightly different)
1- To check if npm is installed or not, type
$ npm -v
This would be the output in terminal umer@Umer:~$ npm -v 3.8.6
2- If npm is not installed, then run these commands
$ sudo npm install npm -g
$ npm -v 3.8.6
3. Then check whether node and nodejs is installed by typing these commands
$ 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