# Updating to the latest Version of Ghost

**URL:** <https://forum.ghost.org/t/updating-to-the-latest-version-of-ghost/46716>\
**Category:** Using Ghost\
**Created:** [April 20, 2024, 10:58pm UTC](https://forum.ghost.org/t/updating-to-the-latest-version-of-ghost/46716 "2024-04-20T22:58:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![niraj](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/niraj/32/5056_2.png) [@niraj](https://forum.ghost.org/u/niraj)\
**Post date:** [April 22, 2024, 8:10am UTC](https://forum.ghost.org/t/updating-to-the-latest-version-of-ghost/46716/2 "2024-04-22T08:10:00Z")

</div>

I ran into a similar error and this led to me discovering I had two versions of the ghost-cli installed when I ran

```auto
whereis ghost

```

which revealed

```auto
/usr/bin/ghost /usr/local/bin/ghost

```

And I ended up fixing it by following the [first two steps in this comment](https://forum.ghost.org/t/not-compatible-with-your-version-of-node-npm-ghost-cli/18381/8) to get rid of the /usr/bin/ghost installation and update the ghost-cli, then exit and re-enter the session so the path picked up the corrected installation.

Edit: I actually had to also symlink the directory to the old path because otherwise I couldn’t get ghost to start. I’m not sure how to fully change it to the new path.

```auto
sudo ln -s /usr/local/bin/ghost /usr/bin/ghost

```

---

_[View the full topic](https://forum.ghost.org/t/updating-to-the-latest-version-of-ghost/46716)._
