By fieldnoise
I have a one-click Ghost install up and running smoothly on my domain, however, the terminal for my droplet is not allowing me to run any ghost commands. When I switch to the ghost-mgr account, I get the message that “Command ‘ghost’ not found, did you mean…”
NOW, because I did not read the fine print of the terminal messages when I first logged in, I tried to install the ghost-cli manually via npm. As I was doing this I tried to abort once I read the message, but now I feel like I have somehow really screwed up the ghost-cli tool.
Any ideas? Any way to simply uninstall the cli and reinstall it? What’s my best path forward here? Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @fieldnoise,
According to ghost’s documentation, you can do the following:
# On a production server using a non-root user:
sudo npm install -g ghost-cli@latest
It should be enough. Don’t forget to do it with the user ghost-mgr.
Additionally, here is the whole docs page;
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.