nvm innstall ubuntu code example
Example 1: linux install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
Example 2: install nodejs ubuntu 19.04
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get update
sudo apt-get install nodejs
nodejs -v
npm -v