Skip to content

Update Node.Js To latest version in Ubuntu

To know the current version of node.js / npm installed in your Ubuntu system, run the following command.

> npm -version
6.13.4
Advertisements

To see the latest releases of npm:

> nvm ls-remote


        v15.2.0
        v15.2.1
        v15.3.0
        v15.4.0
        v15.5.0
        v15.5.1
        v15.6.0
        v15.7.0
        v15.8.0
        v15.9.0
       v15.10.0
       v15.11.0
       v15.12.0
       v15.13.0
       v15.14.0

To install any version of the npm, run nvm install <version-number>

> nvm install 15.14.0


Downloading and installing node v15.14.0...
Downloading https://nodejs.org/dist/v15.14.0/node-v15.14.0-linux-x64.tar.xz...
##################################################################################################################################################################################################### 100.0%
Computing checksum with sha256sum
Checksums matched!
npm notice 
npm notice New minor version of npm available! 7.7.6 -> 7.10.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.10.0
npm notice Run npm install -g npm@7.10.0 to update!
npm notice 
Now using node v15.14.0 (npm v7.7.6)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.