KenoKivabe

Your Essential Queries

Author
Md Mojahedul Islam
03 Aug, 2022

Upgrade NodeJs To Latest Version


We'll See How To Upgrade NodeJS Version(latest stable) In Linux Easily:

1) Open Terminal

2) Update packages:

  1. sudo apt update && sudo apt upgrade    

Remove NPM cache:

  1. npm cache clean -f 

3) Install NodeJS Version Manager:

  1. sudo npm install -g n

4) Install Latest Stable Version

  1. sudo n stable

5) Close Terminal

6) Open Terminal Again

7) Check NodeJS Version

  1. node -v


Share: