How to install Node.js on MacOS and OS X

Tyler Tyler (285)
Total time: 5 minutes 
Updated: December 12th, 2017

There are plenty of reasons to install node. I first installed it because it was required for Ruby on Rails, but recently I’ve started making better use of it.

Posted in these interests:

javascript
PRIMARY
27 guides
macos
40 guides
node
3 guides

You can install homebrew here: Homebrew. Homebrew seems the be the best package manager for OSX. If for some reason you can’t use Homebrew skip to step 3, but it’s worth installing because you’ll get a lot of use out of it in the future.

Now that homebrew is installed, installing node is simple:

brew install node

Once this finishes, you can check the version to make sure it installed properly:

node --version

If you don’t have homebrew or don’t want to install it, you can still install node.

First, install Xcode.

Second, install git.

Then run the following:

git clone git://github.com/ry/node.git cd node ./configure make sudo make install

How to install Node.js on MacOS and OS X

Tyler Tyler (285)
Total time: 5 minutes 
Updated: December 12th, 2017

There are plenty of reasons to install node. I first installed it because it was required for Ruby on Rails, but recently I’ve started making better use of it.

Posted in these interests:

javascript
PRIMARY
27 guides
macos
40 guides
node
3 guides

You can install homebrew here: Homebrew. Homebrew seems the be the best package manager for OSX. If for some reason you can’t use Homebrew skip to step 3, but it’s worth installing because you’ll get a lot of use out of it in the future.

Now that homebrew is installed, installing node is simple:

brew install node

Once this finishes, you can check the version to make sure it installed properly:

node --version

If you don’t have homebrew or don’t want to install it, you can still install node.

First, install Xcode.

Second, install git.

Then run the following:

git clone git://github.com/ry/node.git cd node ./configure make sudo make install
Jump to step

How to install Node.js on MacOS and OS X

Tyler Tyler (285)
Total time: 5 minutes 
Updated: December 12th, 2017

There are plenty of reasons to install node. I first installed it because it was required for Ruby on Rails, but recently I’ve started making better use of it.

Posted in these interests:

javascript
PRIMARY
27 guides
macos
40 guides
node
3 guides

You can install homebrew here: Homebrew. Homebrew seems the be the best package manager for OSX. If for some reason you can’t use Homebrew skip to step 3, but it’s worth installing because you’ll get a lot of use out of it in the future.

Now that homebrew is installed, installing node is simple:

brew install node

Once this finishes, you can check the version to make sure it installed properly:

node --version

If you don’t have homebrew or don’t want to install it, you can still install node.

First, install Xcode.

Second, install git.

Then run the following:

git clone git://github.com/ry/node.git cd node ./configure make sudo make install

How to install Node.js on MacOS and OS X

Tyler Tyler (285)
Total time: 5 minutes 
Updated: December 12th, 2017

There are plenty of reasons to install node. I first installed it because it was required for Ruby on Rails, but recently I’ve started making better use of it.

Posted in these interests:

javascript
PRIMARY
27 guides
macos
40 guides
node
3 guides

How to install Node.js on MacOS and OS X

javascriptmacosnode
Tyler Tyler (285)
Total time: 5 minutes 
Updated: December 12th, 2017
Tyler
1
 

Posted in these interests:

javascript
PRIMARY
27 guides
macos
40 guides
node
3 guides
javascript
PRIMARY
27 guides
macos
40 guides
node
3 guides
PRIMARY
Jump to step
Calling all writers!

We’re hiring. Write for Howchoo

1
 
In these interests
javascript
PRIMARY
27 guides
macos
40 guides
node
3 guides
javascript
PRIMARY
27 guides
macos
40 guides
node
3 guides
PRIMARY
Jump to step

You can install homebrew here: Homebrew. Homebrew seems the be the best package manager for OSX. If for some reason you can’t use Homebrew skip to step 3, but it’s worth installing because you’ll get a lot of use out of it in the future.

Now that homebrew is installed, installing node is simple:

brew install node

Once this finishes, you can check the version to make sure it installed properly:

node --version

If you don’t have homebrew or don’t want to install it, you can still install node.

First, install Xcode.

Second, install git.

Then run the following:

git clone git://github.com/ry/node.git cd node ./configure make sudo make install

You can install homebrew here: Homebrew. Homebrew seems the be the best package manager for OSX. If for some reason you can’t use Homebrew skip to step 3, but it’s worth installing because you’ll get a lot of use out of it in the future.

You can install homebrew here: Homebrew. Homebrew seems the be the best package manager for OSX. If for some reason you can’t use Homebrew skip to step 3, but it’s worth installing because you’ll get a lot of use out of it in the future.

Install homebrew

Now that homebrew is installed, installing node is simple:

brew install node

Once this finishes, you can check the version to make sure it installed properly:

node --version

Now that homebrew is installed, installing node is simple:

brew install node

Once this finishes, you can check the version to make sure it installed properly:

node --version

Use homebrew to install node

If you don’t have homebrew or don’t want to install it, you can still install node.

First, install Xcode.

Second, install git.

Then run the following:

git clone git://github.com/ry/node.git cd node ./configure make sudo make install

If you don’t have homebrew or don’t want to install it, you can still install node.

First, install Xcode.

Second, install git.

Then run the following:

git clone git://github.com/ry/node.git cd node ./configure make sudo make install

Build by hand (caveman style)

Calling all writers!

We’re hiring. Write for Howchoo

Tyler's profile pictureTyler
Joined in 2015
Software Engineer and creator of howchoo.
Tyler's profile picture
Share this guide!
RedditEmailText
Related to this guide:
How to Pretty Print JSON in Chrome Developer ConsoleHow to Pretty Print JSON in Chrome Developer Console
In these interests: codejavascriptwebdev
Remove Elements From an Array in JavaScriptRemove Elements From an Array in JavaScript
When working with arrays in JavaScript, we often need to remove elements.
Tyler's profile picture TylerView
In these interests: codejavascript
Enumerable Properties in JavaScriptEnumerable Properties in JavaScript
Enumerable properties are properties whose internal enumerable flag set to true.
Tyler's profile picture TylerView
In these interests: codejavascript
How to Pretty Print JSON in Chrome Developer ConsoleHow to Pretty Print JSON in Chrome Developer Console
In these interests: codejavascriptwebdev
Zach's profile pictureViewcodejavascriptwebdev
Remove Elements From an Array in JavaScriptRemove Elements From an Array in JavaScript
When working with arrays in JavaScript, we often need to remove elements.
Tyler's profile picture TylerView
In these interests: codejavascript
Tyler's profile pictureViewcodejavascript
Enumerable Properties in JavaScriptEnumerable Properties in JavaScript
Enumerable properties are properties whose internal enumerable flag set to true.
Tyler's profile picture TylerView
In these interests: codejavascript
Tyler's profile pictureViewcodejavascript
People also read:
This guide demonstrates multiple ways to iterate over a JavaScript object’s properties and values.
There are two very similar statements in JavaScript: for…in and for…of. And while they can be easily confused, they’re actually quite different.
My journey trying to find the one loop operator to rule them all
As a JavaScript developer, you’ll often need to construct URLs and query string parameters. One sensible way to construct query string parameters is to use a one layer object with key value pairs.
Writing tests is an important part of software development process. Unit tests form a core part of testing process where each functional block is tested as an independent unit.
Making a deep copy of an object in JavaScript is fairly challenging. Fortunately, there are a few ways to accomplish this without much code.
At some point you’ll want to read, set, and remove cookies using JavaScript.
Learn how to split a string into an array.
This guide will teach you how to concatenate, or join, all elements of an array into a single string.
Learn how to merge two arrays together in JavaScript.
This guide demonstrates multiple ways to iterate over a JavaScript object’s properties and values.
There are two very similar statements in JavaScript: for…in and for…of. And while they can be easily confused, they’re actually quite different.
My journey trying to find the one loop operator to rule them all
As a JavaScript developer, you’ll often need to construct URLs and query string parameters. One sensible way to construct query string parameters is to use a one layer object with key value pairs.
Writing tests is an important part of software development process. Unit tests form a core part of testing process where each functional block is tested as an independent unit.
Learn Multiple Ways to Iterate Over JavaScript Object Properties and Values
The Difference Between “for…in” and “for…of” in JavaScript
JavaScript for loops
How to Turn an Object into Query String Parameters in JavaScript
Unit Testing in JavaScript – Mocha, Chai and Sinon – a Beginner’s Guide
Making a deep copy of an object in JavaScript is fairly challenging. Fortunately, there are a few ways to accomplish this without much code.
At some point you’ll want to read, set, and remove cookies using JavaScript.
Learn how to split a string into an array.
This guide will teach you how to concatenate, or join, all elements of an array into a single string.
Learn how to merge two arrays together in JavaScript.
How to Copy an Object in JavaScript
How to Manage Cookies in JavaScript
How to Split a String into an Array in JavaScript
How to Join All Elements of an Array in JavaScript
How to Merge Two Arrays in JavaScript
Posted in these interests:
javascriptjavascript
javascript
PRIMARY
Array(16).join(“wat” – 1) + ” Batman!”;
javascriptjavascript
javascript
PRIMARY
Array(16).join(“wat” – 1) + ” Batman!”;
PRIMARY
ExploreExploreExplore
Discuss this guide:
We’re hiring!
Are you a passionate writer? We want to hear from you!
We’re hiring!
Are you a passionate writer? We want to hear from you!
View openings

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Donate