“Node NVM” Réponses codées

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
Lucas Juan

.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"
Odd Owl

Version du nœud NVM

nvm ls
Copperfield

Node NVM

# With NVM

yay -S nvm

echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc
exec $SHELL

nvm ls-remote

nvm install v18.1.0
Injury

Réponses similaires à “Node NVM”

Questions similaires à “Node NVM”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code