How to Install Ghost on Mac OS X


If you use Homebrew as your package manager on Mac OS X you can checkout our How to Install Ghost on a Mac w/ Homebrew article.

Download and Install Node

Go to node.js and download the Mac OS X Installer (.pkg).

Install the node.js package that was downloaded.

Node was installed at /usr/local/bin/node and npm was installed at /usr/local/bin/npm.

Download and Install Ghost

Go to the Ghost page and download the latest ghost

Unzip and place your Ghost in a folder (I put it in /Ghost/)

Do the following commands:

cd /Ghost/
sudo npm install --production
cp config.example.js config.js
sudo vi config.js

In the "Production" section, change the following:

host: '127.0.0.1',
port: '2368'   

to

host: '0.0.0.0',
port: '80'

Start Ghost

sudo npm start --production

Keeping Ghost Alive on Mac OS X

In Mac OS X you can use the launchd service to start Ghost and restart it if it crashes. You can find instructions for setting up a launchd in our article Mac OS X launchd To Keep Ghost Alive.

Next Steps:

Learn Ghost from the Ground Up
Head to "Ghost for Beginners" to learn everything you need to know about learning and customizing Ghost

Find the Perfect Ghost Theme
Go to our Ghost themes section of this site to browse all of your Ghost theme options in one place.