# Ghost v2.1.1 is not compatible with this version of the CLI

**URL:** <https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944>\
**Category:** Installation\
**Created:** [September 6, 2018, 11:13pm UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944 "2018-09-06T23:13:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![garciahouse](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@garciahouse](https://forum.ghost.org/u/garciahouse)\
**Post date:** [September 6, 2018, 11:13pm UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/1 "2018-09-06T23:13:27Z")

</div>

I’m trying to upgrade my AWS / Bitnami hosted Ghost blog from V 1.22.8 to version 2.x  
([blog.salesinsider.io](http://blog.salesinsider.io))

I’m running the command “ghost update” at /opt/bitnami/apps/ghost/htdocs/  
but it is returning the error:  
“Ghost v2.1.1 is not compatible with this version of the CLI” (Version 1.7.3 of the CLI)

I have a couple of questions…how do I know if I have the latest version of CLI?

Yes - I did run “sudo npm i -g ghost-cli@latest”

Even when I try to upgrade by using “Ghost Update --v1” I get the same error.

Any ideas would be helpful. Further below is a screenshot if it helps.

Thanks.

 ![sshghostgrab](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/5/5071ffba30cb86a5fdebcfbda8413de7f96fe1e7.png)

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [September 7, 2018, 12:47am UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/2 "2018-09-07T00:47:19Z")

</div>

The latest version of Ghost is [1.9.3](https://github.com/TryGhost/Ghost-CLI/releases). Based on what you’re saying, you might have multiple versions of Ghost CLI installed.

---

<div class="post-metadata">

**Author:** ![garciahouse](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@garciahouse](https://forum.ghost.org/u/garciahouse)\
**Post date:** [September 7, 2018, 1:00am UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/3 "2018-09-07T01:00:22Z")

</div>

How do i resolve it if that is the case?  
What is the file name for CLI?

---

<div class="post-metadata">

**Author:** ![pascalandy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pascalandy/32/444_2.png) [@pascalandy](https://forum.ghost.org/u/pascalandy)\
**Post date:** [September 7, 2018, 2:19am UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/4 "2018-09-07T02:19:23Z")

</div>

As you know Ghost is open-source. The CLI is as well 🙂  
See head over [GitHub - TryGhost/Ghost-CLI: CLI Tool for installing & updating Ghost](https://github.com/TryGhost/Ghost-CLI) then click release.

> [@garciahouse](#):
>
> how do I know if I have the latest version of CLI?

Cheers!

---

<div class="post-metadata">

**Author:** ![garciahouse](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@garciahouse](https://forum.ghost.org/u/garciahouse)\
**Post date:** [September 7, 2018, 3:09am UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/5 "2018-09-07T03:09:40Z")

</div>

Thanks - I’m aware of Github and that just confirms that the latest version of CLI is 1.9.3.

When I run “sudo npm i - g ghost-cli@latest” I see confirmation that I’ve installed CLI 1.9.3.

But when I run “Ghost Version” it still says CLI 1.7.3

So…I must have another version of CLI running somewhere.  
How do I track it down / find it and remove it?

[btw, for kicks I ran “ghost update 1.25.5” and it successfully upgraded me from 1.22.8 to 1.25.5]

Isaac

---

<div class="post-metadata">

**Author:** ![ebauger](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ebauger/32/313_2.png) [@ebauger](https://forum.ghost.org/u/ebauger)\
**Post date:** [September 14, 2018, 12:31am UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/6 "2018-09-14T00:31:36Z")

</div>

Can you share with us the result of

$ command -v ghost

---

<div class="post-metadata">

**Author:** ![garciahouse](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@garciahouse](https://forum.ghost.org/u/garciahouse)\
**Post date:** [September 14, 2018, 6:50pm UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/7 "2018-09-14T18:50:56Z")

</div>

I get:

/opt/bitnami/apps/ghost/bin/ghost

Isaac

---

<div class="post-metadata">

**Author:** ![ebauger](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ebauger/32/313_2.png) [@ebauger](https://forum.ghost.org/u/ebauger)\
**Post date:** [September 14, 2018, 7:34pm UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/8 "2018-09-14T19:34:29Z")

</div>

I don’t know if you’re comfortable with your package manager on your system.

The path you gave to me, it’s the place where ghost-cli is installed. So what I suggest uninstalling ghost-cli (via npm or yarn), node, (and yarn) on your system via your package manager and [install nvm](https://github.com/creationix/nvm) and use the right version of node.js (nvm install 8.9.4 && nvm use 8.9.4). If you use yarn, install it without node (read [this](https://yarnpkg.com/en/docs/install#mac-stable)).

If ‘command -v ghost’ shows nothing, after uninstall with your package manager, you are in a good way.

If your need help, I can check via a remote session to help you with your problem. I had the same problem a few days ago.

Good luck!

---

<div class="post-metadata">

**Author:** ![Rohitkrops](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/rohitkrops/32/1031_2.png) [@Rohitkrops](https://forum.ghost.org/u/Rohitkrops)\
**Post date:** [September 16, 2018, 5:12am UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/9 "2018-09-16T05:12:29Z")

</div>

I had the same problem a month ago. I was able to solve it on my custom stack by simply running

**sudo npm i -g ghost-cli**

But if you are running Bitnami stack then it might not work.

---

<div class="post-metadata">

**Author:** ![garciahouse](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@garciahouse](https://forum.ghost.org/u/garciahouse)\
**Post date:** [September 17, 2018, 5:10am UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/10 "2018-09-17T05:10:33Z")

</div>

Rohitkrops  
When I run “sudo npm i -g ghost-cli” it does an update to the CLI and says:

- ghost-cli@1.9.4

added 6 packages, updated 8 packages andd moved 3 packages in 7.794s

I then run “ghost update”

and get system error

“Ghost v2.1.2 is not compatible with this version of the CLI”

It still thinks the Ghost-CLI version is 1.7.3

---

<div class="post-metadata">

**Author:** ![kylemitchell](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kylemitchell/32/1537_2.png) [@kylemitchell](https://forum.ghost.org/u/kylemitchell)\
**Post date:** [September 17, 2018, 2:30pm UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/11 "2018-09-17T14:30:13Z")

</div>

I had the same problem, I needed to run ghost update --v1 to update the CLI to the most recent before I could update to v2

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [October 1, 2018, 2:30pm UTC](https://forum.ghost.org/t/ghost-v2-1-1-is-not-compatible-with-this-version-of-the-cli/2944/12 "2018-10-01T14:30:17Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
