Installing NPM on Ubuntu (Node package Manger)
Of course, first install node. js, see: Installing node. js from the PPA
Next:
Curl Http://npmjs.org/install.sh | sudo sh
Note: sudo is required because of the permissions for the reason. But to SH plus sudo instead of curl.
Also, if you do not have curl installed, use the following command to install:
sudo apt-get Install Curl
After the installation is complete, use the following command to view the NPM version:
$ NPM--version
1.0.30
Of course, first install node. js, see: Installing node. js from the PPA
Next:
Curl Http://npmjs.org/install.sh | sudo sh
Note: sudo is required because of the permissions for the reason. But to SH plus sudo instead of curl.
Also, if you do not have curl installed, use the following command to install:
sudo apt-get Install Curl
After the installation is complete, use the following command to view the NPM version:
$ NPM--version
1.0.30