# Ghost installed locally but not working

**URL:** <https://forum.ghost.org/t/ghost-installed-locally-but-not-working/16021>\
**Category:** Installation\
**Created:** [July 21, 2020, 7:35pm UTC](https://forum.ghost.org/t/ghost-installed-locally-but-not-working/16021 "2020-07-21T19:35:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![designor](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@designor](https://forum.ghost.org/u/designor)\
**Post date:** [July 21, 2020, 7:35pm UTC](https://forum.ghost.org/t/ghost-installed-locally-but-not-working/16021/1 "2020-07-21T19:35:03Z")

</div>

Hi there

I have installed Ghost locally with `npm install ghost-cli@latest -g`.

However, when I run `ghost install local` I get the following error:

```auto
ghost : The term 'ghost' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is corre
ct and try again.    
At line:1 char:1     
+ ghost install local
+ ~~~~~
    + CategoryInfo : ObjectNotFound: (ghost:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

```

I’m using Windows 10.

How do I make this work?

---

<div class="post-metadata">

**Author:** ![designor](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@designor](https://forum.ghost.org/u/designor)\
**Post date:** [July 21, 2020, 8:36pm UTC](https://forum.ghost.org/t/ghost-installed-locally-but-not-working/16021/2 "2020-07-21T20:36:30Z")

</div>

I deleted all Ghost files from both `C:\Users\<username>\AppData\Roaming\npm` and `C:\Users\<username>\AppData\Roaming\npm\node_modules` and installed the dependency again but nothing changed.

---

<div class="post-metadata">

**Author:** ![designor](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@designor](https://forum.ghost.org/u/designor)\
**Post date:** [July 22, 2020, 9:05pm UTC](https://forum.ghost.org/t/ghost-installed-locally-but-not-working/16021/3 "2020-07-22T21:05:12Z")

</div>

I have looked through the forum and github again to find past issues that might help me resolve this, but I still can’t get it to work, which makes the development I want to do with Ghost much more cumbersome when I don’t have a local environment running. It’s not node at least, I’m using v12.16.3.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [July 23, 2020, 11:37am UTC](https://forum.ghost.org/t/ghost-installed-locally-but-not-working/16021/4 "2020-07-23T11:37:50Z")

</div>

Looks like it’s been reported here and then answered by @vikaspotluri123:

> <https://github.com/TryGhost/Ghost-CLI/issues/1257#issuecomment-662796256>
>
> I have installed Ghost locally with \`npm install ghost-cli@latest -g\`.
> 
> Howeve…r, when I run \`ghost install local\` I get the following error:
> 
> \`\`\`
> ghost : The term 'ghost' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is corre
> ct and try again.    
> At line:1 char:1     
> + ghost install local
> + ~~~~~
> + CategoryInfo : ObjectNotFound: (ghost:String) \[\], CommandNotFoundException
> + FullyQualifiedErrorId : CommandNotFoundException
> \`\`\`
> 
> I'm running Windows 10 and Node v12.16.3.
> 
> \- \[x\] Tried to find help in the forum & docs
> \- \[x\] Checked for existing issues
> \- \[x\] Attached log file
> \- \[x\] Provided technical details incl. operating system

Have you tried the solution Vikas mentioned?

---

<div class="post-metadata">

**Author:** ![designor](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@designor](https://forum.ghost.org/u/designor)\
**Post date:** [July 24, 2020, 11:34am UTC](https://forum.ghost.org/t/ghost-installed-locally-but-not-working/16021/5 "2020-07-24T11:34:41Z")

</div>

It works now, thanks! It required a system restart as well.
