Last active
August 3, 2024 03:59
-
-
Save StalinMazaEpn/b7d98758e57c277da724e0b9c23a47f1 to your computer and use it in GitHub Desktop.
iosApple
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
| ## Install NVM on macOS | |
| brew install nvm | |
| mkdir ~/.nvm | |
| Edit your shell config file to add the path to the NVM home directory. The shell config file would be ~/.bash_profile if you are using Bash, or ~./zshrc if you are using Zsh, the default shell for MacOS Catalina and later versions. | |
| # open config file | |
| nano ~/.zshrc | |
| # add the nvm path | |
| export NVM_DIR="$HOME/.nvm" | |
| # load the nvm script every time you open the terminal | |
| source $(brew --prefix nvm)/nvm.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment