Set up a free Ghost blog on GitHub Pages in a few steps.
Live demos: v3 (current) · Classic v2 (archive)
Complete REQUIREMENTS.md first (Node.js, wget, GitHub account).
- Download the latest release: github.com/paladini/ghost-on-github-pages/releases/latest
- Extract the ZIP file somewhere you will remember (for example, your Desktop).
-
Open Terminal.
-
Go to the extracted folder:
cd path/to/ghost-on-github-pages -
Run:
chmod +x install.sh ./install.sh -
Wait — this can take several minutes. The script installs Ghost on your computer.
-
When asked, you can publish to GitHub right away or skip and publish later.
Your blog folder is created at ~/.ghost.
- Open your browser.
- Go to: http://localhost:2373/ghost
- Complete the setup screen (create your admin account).
- Write a test post or explore the editor.
If you skipped publishing during install:
cd ~/.ghost
./deploy.sh
The script will ask for:
- Your GitHub username
- Your repository name
- Your repository URL
After publishing, wait about 10 minutes, then open:
https://YOUR_USERNAME.github.io/YOUR_REPO
-
http://localhost:2373shows your blog on your computer -
./deploy.shfinishes without errors - Your GitHub repository has new files
- Your public URL loads in the browser
- Clicking a tag or post does not go to "localhost"
If any step fails, see TROUBLESHOOTING.md.
-
Edit posts at
http://localhost:2373/ghost -
Publish from Terminal:
cd ~/.ghost ./deploy.sh
See DEPLOY.md for more detail.
Use the Migration guide instead of this page.