![]() The following command updates NPM to the latest version: sudo npm install -gĪfter the completion of the program close the terminal and re-open it again. In my case NPM is version 3.5.2 and NodeJS is v8.10.0. First, we need to find which versions of NPM and NodeJS we are using: npm node -v NPM (Node Package Manager) is usually used for installing packages in NodeJS that is it allows you to download and reuse the code written by other developers.īesides that, NPM can also update itself and NodeJS. If you have NodeJS installed on your computer then you also have NPM, because they come together. ![]() ![]() I will update NodeJS 8.1.0 to NodeJS 10.13 in Ubuntu 18.04. In this short post we will update NodeJS to the latest version using npm (Node Package Manager). ![]()
0 Comments
Leave a Reply. |