Skip to content

Instantly share code, notes, and snippets.

@dudleyjosh
Created November 14, 2019 16:02
Show Gist options
  • Save dudleyjosh/400d7ff8a6502e4e13bd0da9e53a55f9 to your computer and use it in GitHub Desktop.
Save dudleyjosh/400d7ff8a6502e4e13bd0da9e53a55f9 to your computer and use it in GitHub Desktop.
Setup nvm w/ zsh on macOS
Once zsh is selected as the default terminal shell:
$ brew update
$ brew install nvm
$ mkdir ~/.nvm (if not already existing)
Then add the following in your ~/.zshrc:
export NVM_DIR="$HOME/.nvm"
source $(brew --prefix nvm)/nvm.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment