

You can use Homebrew to update the software it installs. New versions of Node and NPM come out frequently. This should print the version number so you’ll see something like this 1.4.27 To see if NPM is installed, type npm -v in Terminal. This should print the version number so you’ll see something like this v0.10.31. To see if Node is installed, type node -v in Terminal. Make sure you have Node and NPM installed by running simple commands to see what version of each is installed:
Instal node.js for mac install#
Homebrew has to download some files and install them. This updates Homebrew with a list of the latest version of Node. Open the Terminal app and type brew update.The whole process (after you have Homebrew installed) should only take you a few minutes. Homebrew handles downloading, unpacking and installing Node and NPM on your system. Installing Node.js® and NPM is pretty straightforward using Homebrew.


Instal node.js for mac how to#
Follow the steps on the How to Install Homebrew on a Mac instruction guide to install Homebrew. Homebrew lets you avoid possible security problems associated with using the sudo command to install software like Node and Node modules. To publish and install packages to and from the public npm registry or a private npm registry, you must install Node.js and the npm command line interface. Although you can install Node in other ways, we recommend using Homebrew. The Terminal application is located in the Utilities folder in the Applications folder. You’ll also need the Terminal to use Node.js and NPM.
