Skip to content

Instantly share code, notes, and snippets.

@marcusholloway17
Created January 27, 2024 14:24
Show Gist options
  • Select an option

  • Save marcusholloway17/2ea636fd5ce979e7df3ac5fc89de1dad to your computer and use it in GitHub Desktop.

Select an option

Save marcusholloway17/2ea636fd5ce979e7df3ac5fc89de1dad to your computer and use it in GitHub Desktop.
INSTALL NVM ON MAC

1- create .zshrc file if not exist :

touch ~/.zshrc

2- run the command below:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

3- install the version of node you want, for this example it will be v18.18.0:

nvm install 18.18.0

4- at the root level of your node app set the node version

nvm use 18.18.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment