Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save italosantana/3a8c3ff90f90f710d6457c64c0d76958 to your computer and use it in GitHub Desktop.
Save italosantana/3a8c3ff90f90f710d6457c64c0d76958 to your computer and use it in GitHub Desktop.
nodejs using nvm
# CURL
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh
# CURL
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
# GERAR O SCRIPT
source ~/.bashrc
# PERGUNTAR QUAIS VERSOES ESTAO DISPONIVEIS
nvm list-remote
# USAR UMA VERSAO
nvm install v13.6.0
# LISTAR VERSOES QUE VOCE BAIXOU
nvm list
# USAR UMA OUTRA VERSAO QUE VOCE BAIXOU
nvm use v13.6.2
# VISUALIZAR VERSAO DO NODE
node -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment