Created
November 14, 2019 16:02
-
-
Save dudleyjosh/400d7ff8a6502e4e13bd0da9e53a55f9 to your computer and use it in GitHub Desktop.
Setup nvm w/ zsh on macOS
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
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