Install NPM on Mac

Prerequisites

  • Must be running a Mac computer.
  • Must have brew installed on the computer. For help on installing homebrew please reference HERE

What is NPM?

  • NPM is a popular node package manager to find and install common Javascript packages to be used on web development

Steps

 

First off we will need to install XCode so run

xcode-select --install

from your command line.

Next up use brew to install node

brew install node

NOTE: This may take a few minutes to install.

Lastly, just check to make sure that it got installed correctly via

npm -v

And that’s it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s