![]() Note: Run these commands, if you know what are you doing otherwise it could mess up your NPm setup.Ĭommand to see the older available version on Ubuntu npm view npm versions -jsonĬommand to select the previous NPM version npm i -g example, if I want to select the older 5.8.0 version then the command will be: npm i -g Note: If you are using the PPA, simply run sudo apt updateįirst, update npm, sudo npm update npm install -g update the node to the next version, npm install -g install -g Step 6: Command to select previous version npm on Ubuntu 19.04 (optional) Step 7: Command to upgrade NPM and Node (optional) To check the NPM version, the command is: npm -vĪfter using the Latest Node.js PPA repo, the latest version– To check the Node version on Ubuntu, the command is: node -version Versions on Ubuntu 19.04 without using PPA- LTS versions Step 4 Install NPM on Ubuntu 190.4 via commandĪfter installing the Node.js, use this command to set up the NPM package manager on Ubuntu 19.04 sudo apt-get install npm Step 5: Check the installed Node and NPM version on Ubuntu ![]() Note: Without PPA we have to install Node and NPM using two different commands, however, those who are using the PPA will get both Nodejs and NPM using the single below command: sudo apt-get install nodejs ![]() ![]() After adding the Node.js Repo run the system update command: sudo apt-get update Step 3: Command to install the Node.js on Ubuntu 19.04 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |