Ghost-CLI commands do not work


#1

Hello, when I try install Ghost or run any Ghost command, I have this output:

Ghost-CLI commands do not work inside of a git clone, zip download or with Ghost <1.0.0.

I tried clean de yarn cache and restart ghost, but I haven`t success.


#2

Hello :wave:

A bit more context is needed :slight_smile: Could you answer:

What are you trying to do?
What’s the entire command you’re running
What are the contents of the folder you’re running the command in?


#3

I installed ghost local, but when I try run any ghost command, I have this output above.


#4

It looks like you might not be in the correct directory. Make sure you’re in one of the directories listed in ghost ls


#5

This is my output:

ghost ls
No installed ghost instances found

When I try install Ghost local (ghost install), I have this answer:


#6

It looks like you probably have something in your current directory. You need to install ghost in an empty directory, so you might do something like this:

mkdir ghost
cd ghost
ghost install local


closed #7

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