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
# Setup NVM | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
# Install latest version of Node | |
nvm install node | |
nvm use node | |
# Setup Yarn and use the correct global bin directory |