Skip to content

Instantly share code, notes, and snippets.

@sandheepg
Created July 20, 2017 06:47
Show Gist options
  • Save sandheepg/e98b91cf82ddb3c2e26b6f54be0b6b63 to your computer and use it in GitHub Desktop.
Save sandheepg/e98b91cf82ddb3c2e26b6f54be0b6b63 to your computer and use it in GitHub Desktop.
Manage multiple Node versions on Mac

This assumes that you have Homebrew installed in first place and used it to install Node. To manage multiple Node versions on your development server, first search for your desired pacakage

brew search node

Pick a version of your choice and run

brew install node@6

Remember you can install more than one Node package but can't have them available at the same time.

If you have latest/generic node already installed, unlink it first

brew unlink node

and link to your desired version

brew link node@6 --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment