update node js linux
sudo npm install -g n
sudo n lts
node -v
how to update node js version
//check node version
>node -v
// let's install a program called n that will let us easily switch
//between Node versions.
>npm install -g n
//Upgrading to the latest stable version
>n stable
//Changing to a specific version
>n 10.16.0
linux command to update nodejs
tar -C /usr/local –strip-components 1 -xJf node-v12.13.1-linux-x64.tar.xz
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us