Horje
.nvm bash Code Example
nvm
## Ubuntu
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

## Set in your .bashrc or .zshrc
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"

## Install the latest version LTS
nvm install --lts
.nvm bash
# This loads nvm (Node Version Manager). Add this to your shell profile (~/.bash_profile, ~/.zshrc, ~/.profile, or ~/.bashrc)
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"
Source: github.com




Shell

Related
find change permissions to subdirectories Code Example find change permissions to subdirectories Code Example
extract tar.gz Code Example extract tar.gz Code Example
install bootstrap in angular 10 Code Example install bootstrap in angular 10 Code Example
git checkout commit Code Example git checkout commit Code Example
error: src refspec main does not match any error: failed to push some refs to Code Example error: src refspec main does not match any error: failed to push some refs to Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9