Cover by Michael Erasmus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Installing CoffeeScript on a Mac

There are two ways of installing Node.js on a Mac, either by downloading the .pkg file from the Node.js website and installing it using Apple's installer application, or by using the Homebrew command-line package manager.

The easiest way of getting up and running is by just installing the .pkg file, so let's go over that first. Installing Homebrew might involve more work, but it is worth it if you prefer working on the command-line tool and would build CoffeeScript from source.

Using the Apple installer

Head on over to the Node.js website (nodejs.org) and then click on the Downloads button. You'll see a couple of options available, but choose the Macintosh Installer option, as shown in the following screenshot:

This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required