Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Install specific node version and update node to lastest stable version

# Install specific node version
sudo curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt install nodejs

# To update node to lastest stable version
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
 
PREVIOUS NEXT
Tagged: #Install #specific #node #version #update #node #lastest #stable #version
ADD COMMENT
Topic
Name
1+8 =