Hello friends,
I’m not a developer, trying to install a fresh instance of Ghost v5.87.3 locally (mac os sonoma 14.3) so I can play with adjusting my theme.
- When I run
ghost -v
I get backRunning in development mode Ghost-CLI version: 1.24.2
- When I run
sudo npm install ghost-cli@latest -g
and thenghost -v
I still get backRunning in development mode Ghost-CLI version: 1.24.2
- When trying to install ghost, I get back
Ghost v5.87.3 is not compatible with this version of the CLI. Your CLI version is 1.24.2, but Ghost v5.87.3 requires ^1.26.0
It seems that there are two versions of the ghost-cli installed b/c:
- If I run:
whereis ghost
, I get back:ghost: /Users/homefolder/.nvm/versions/node/v18.20.4/bin/ghost
- After attempting to uninstall ghost-cli with
sudo npm uninstall -g ghost-cli
, I get back:up to date in 246ms
. Then running:whereis ghost
, I get back:ghost: /usr/local/bin/ghost
yarn commands are not found, but I have some hidden files that look like yarn, and found at least one previously installed instance of ghost installed locally.
How can I uninstall ghost-cli and fully purge previous local installations of ghost, yarn, etc? I want to start from scratch with npm and am not attached to previous local builds as my self-hosted site is online and running beautifully.
Was thinking @vikaspotluri123 might be able to help.
Thanks in advance!