Answers for "ubuntu 20.04 install version of node 16 and npm"

PHP
0

install nodejs 14 for ubuntu 20.04

sudo apt update
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -

cat /etc/apt/sources.list.d/nodesource.list
deb https://deb.nodesource.com/node_14.x focal main
deb-src https://deb.nodesource.com/node_14.x focal main

sudo apt -y install nodejs

node -v
v14.18.2
Posted by: Guest on December-21-2021
6

how to install nodejs on ubuntu 20.04

Install Nodejs using NVM

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
source ~/.bashrc
nvm install v14.17.1
Posted by: Guest on July-20-2021

Code answers related to "ubuntu 20.04 install version of node 16 and npm"

Browse Popular Code Answers by Language