Install old ghost version (v4.7.2)


I am trying to install an older version of ghost locally so that I have the same version that my team is using. Here is my ghost-cli version :

Ghost-CLI version: 1.25.2

To install a specific version of ghost, I am using :

ghost install 4.7.2 --local

I am unable to install it using the above command, I get the following error :

✔ Checking system Node.js version - found v16.20.2
✔ Checking current folder permissions
✔ Checking memory availability
✔ Checking free space
✖ Checking for latest Ghost version
A CliError occurred.

Message: Version 4.7.2 does not exist

Debug Information:
    OS: macOS, v14.0
    Node Version: v16.20.2
    Ghost-CLI Version: 1.25.2
    Environment: development
    Command: 'ghost install 4.7.2 --local'

How can I install a specific version of ghost locally?

I have just had a look at the versions available on Github: Tags · TryGhost/Ghost · GitHub

It seems like there is indeed no v4.7.2 – only v4.7.0 (which I could install with the CLI without problems).

As a quick check, I also tried to install v4.8.2 and that worked without issue as well.

So, the command you’re using is correct – but I would double check the Ghost version :slight_smile:

1 Like

Thanks! Indeed it was an issue with the version.
Doing a ghost install 4 --local also worked!

1 Like