WordPress has long been the default choice for creating blogs.

But features like SEO or social sharing are only available via plugins.

Ghost is a simple blogging platform that lets you publish, share, and grow your business around content.

A rear view of somebody’s head, wearing headphones, with two blurred screens in the background

Like every CMS, you’ve got the option to test Ghost on your local computer.

Well show you how to run Ghost CMS locally on Mac and PC.

After installing Node, you might skip this section altogether and move on to using Ghost CLI.

run nvm on windows10

It also keeps track of what version youre using and lets you switch between them easily.

Before you proceed with the NVM installation, uninstall any existing versions of Node.js.

On Windows, you should also delete any Nodejs directories to avoid potential complications.

check the version number of node and npm

ThisStack Overflowpost explains the process.

Also back up any global npmrc config, usually located in%AppData%\npm\etc\npmrc.

Ghost recommends steps to take if you run into problems during alocal installation through NVM.

zshrc config file nvm

You must ensure that you have installed ghost-cli in the correct environment.

Head to thereleases pageand downloadnvm-setup.zip.

After finishing the installation, pressWin + Xand chooseCommand Prompt (Admin).

check the version number of node and npm mac

Now install Node using NVM:

The package gets installed to %AppData\Roaming\nvm and symlinked to Program Files.

Now key in in:

To check the version number of Node and npm.

Since macOS 10.15 Catalina, the default shell is zsh, and nvm will look for.zshrcto update the configuration.

install ghost cli on windows10

In Finder, pressCmd + Shift + Periodto see hidden folders and files.

If the.zshrcfile is missing, youll have to create it:

Then launch the install script again.

Now enter:

If you see the version number, it means the installation was successful.

run ghost help windows10

Now install Node:

Runnode -vandnpm -vto check the version number of node and npm.

The CLI is available as annpm moduleand you’re free to install it via either npm or yarn.

You should then run:

Then, take the suggested steps before installing Ghost.

create a ghost installation folder

The CLI tool performs various operations to maintain the Ghost CMS environment.

It creates a folder structure, takes care of user permissions, and manages any existing Ghost installation.

bang out in:

UserName is the user account name of your PC.

installation of ghost cms windows10

ensure to tick thePrivate Networkoption or you wont be able to view your Ghost blog.

In addition, youll get a link:

Paste it into your internet tool to see this screen.

Step 4: Enter the details to view your local site.

setting up ghost blog

Useful Commands to Manage Ghost

Several useful commands allow you to manage your Ghost blog.

If you follow the procedure carefully, it wont take long to install and set up your site.

If you want to develop a professional site, youll need to consider usability, SEO, and more.

ghost installation folder mac

Read our guide on things to plan out before creating your website.

installation of ghost cms mac