Created
September 7, 2021 05:29
-
-
Save k3karthic/3f2f20d96a14d852584b75757228c62d to your computer and use it in GitHub Desktop.
Update NVM Node
This file contains hidden or 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
#!/usr/bin/env bash | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
nvm install 'lts/*' --reinstall-packages-from=current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment