Skip to content

Instantly share code, notes, and snippets.

@RidaRidss
Created May 19, 2021 08:42
Show Gist options
  • Save RidaRidss/165c2ea31c8de1089e22495f315c7247 to your computer and use it in GitHub Desktop.
Save RidaRidss/165c2ea31c8de1089e22495f315c7247 to your computer and use it in GitHub Desktop.
Install nvm in mac os globally
* npm install nvm -g
* Appending nvm source string to /Users/Rida/.bash_profile
* Appending bash_completion source string to /Users/Rida/.bash_profile
* Close and reopen your terminal to start using nvm or run the following to use it now:
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment