Skip to content

Instantly share code, notes, and snippets.

@sandheepg
Created July 19, 2017 12:57
Show Gist options
  • Select an option

  • Save sandheepg/19e0417b65e4048ee9f42c1f97299f51 to your computer and use it in GitHub Desktop.

Select an option

Save sandheepg/19e0417b65e4048ee9f42c1f97299f51 to your computer and use it in GitHub Desktop.
Manage Node and NPM on Mac

Installing Node.js and NPM is pretty straightforward using Homebrew. Assuming that you have Homebrew and XCode installed on your Mac, open Terminal and type

brew install node

To see if Node and NPM are installed, type

node -v
npm -v

To update Node and NPM, type

brew update
brew upgrade node

To uninstall Node and NPM, type

brew uninstall node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment