Skip to content

Instantly share code, notes, and snippets.

@StalinMazaEpn
Last active August 3, 2024 03:59
Show Gist options
  • Save StalinMazaEpn/b7d98758e57c277da724e0b9c23a47f1 to your computer and use it in GitHub Desktop.
Save StalinMazaEpn/b7d98758e57c277da724e0b9c23a47f1 to your computer and use it in GitHub Desktop.
iosApple
## 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