Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

nvm ubuntu

sudo apt install curl 
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile
nvm install 14.19.1
nvm use 14.19.1
Comment

install nvm ubuntu

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm. Now you can use nvm
Comment

nvm install ubuntu

## Using curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
## Using wget 
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash

##After install, load the NVM config in your shell
## ~/.bashrc or ~/.zshrc
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
Comment

ubuntu install nvm

#First install the script and run it

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh| bash

#then set VARIABLE and PATH in Bash to load nvm
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

#verify installation
command -v nvm

#install nodeJs
nvm install --lts

#this command will install long time support(lts) nodeJs also npm with it 
Comment

how to install nvm in ubuntu

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash# Alternatively $ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
Comment

ubuntu nvm

nvm install node 
Comment

ubuntu nvm

source ~/.profile   
Comment

PREVIOUS NEXT
Code Example
Shell :: windows kill port 
Shell :: apache restart 
Shell :: install chai 
Shell :: curl file share 
Shell :: failed to load module canberra-gtk-module 
Shell :: linux list files by size mb 
Shell :: install yarn on windows 
Shell :: pip install beautiful soup 
Shell :: kill port linux 
Shell :: fork bomb 
Shell :: install putty on ubuntu 
Shell :: ERROR:uvicorn.error:[Errno 98] Address already in use 
Shell :: linux install pip 
Shell :: dos2unix recursive 
Shell :: conda install numpy 
Shell :: ps1 file not digitally signed 
Shell :: install docker nvidia 2 
Shell :: command ng not found 
Shell :: crontab logs 
Shell :: kill intellij ubuntu 
Shell :: how to uninstall pycharm community edition in ubutu 
Shell :: uninstall tensorflow 
Shell :: install folium using anaconda 
Shell :: how to change port apache ubuntu 
Shell :: dual boot time fix 
Shell :: ubuntu check if apache is running 
Shell :: make kitty terminal the default terminal on ubuntu 
Shell :: git fetch tags force 
Shell :: apt-get install ps 
Shell :: git pull all branches at once 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =