Created
August 9, 2022 11:29
-
-
Save italosantana/3a8c3ff90f90f710d6457c64c0d76958 to your computer and use it in GitHub Desktop.
nodejs using nvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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