Last active
August 15, 2022 13:27
-
-
Save hongjonghwa/0c831b642187d7b5bd306b3da6a6b96d to your computer and use it in GitHub Desktop.
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
# 1) nvm install | |
git clone https://github.com/nvm-sh/nvm.git ~/.nvm | |
# 2) add these lines to ~/.bashrc, ~/.profile, or ~/.zshrc | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
# 3) install nodejs | |
nvm install --lts=fermium # node v14 lts | |
# 4) yarn classic ( node ver < 16.9) | |
npm install --global yarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment