How to Install Ghost on a Raspberry Pi Running Raspbian

Initial Setup

With a clean install of Raspbian run the following commands to download node.js:
 tar -xzf node-latest.tar.gz
 cd [node folder]
Use the following commands to compile and install node.js
make install

Download and Install Ghost:

unzip -d ghost [Name-of-Ghost-zip].zip
Execute the following commands:
cd ghost/
sudo npm install --production
cp config.example.js config.js
Now you just need to edit the config.js file and replace the listening address and port to your Raspberry Pi's IP address in the production section. For example replace host: '' with host: 'youripaddress' and port: '2368' to port: '80'.

And finally run npm start --production to start Ghost process.

Your new Ghost blog can be accessed at: http://youripaddress/ghost

Next Steps:

Keep Ghost running with PM2

Keep Ghost running in the background and on startup using PM2

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.