CLI Tool for installing & updating Ghost
Latest commit 0bbf93e Jan 19, 2017 @acburdine acburdine committed on GitHub Merge pull request #115 from acburdine/output-refactor
Output Refactor


ghost-cli npm Build status Coverage Status npm ghost-cli dependencies

Just a CLI manager (for a blogging platform)


npm install -g ghost-cli


ghost <command>

NOTE: This CLI is not designed to work with any Ghost versions < 1.0.0


ghost install [version]

Installs a particular version of Ghost. If no version is specified, the CLI will install the latest available version.

ghost install local

Running ghost install local is a quick way to set up a development version of ghost on your local environment. This can be useful for theme/adapter development.


Note: you must have Git installed

  1. Fork this repo
  2. git clone<your-username>/Ghost-CLI path/to/your/workspace
  3. cd path/to/your/workspace
  4. npm install

You can run the cli one of two ways:

  • Manually:
    • from the ghost-cli directory: ./bin/ghost <command>
  • Using npm link:
    • from the ghost-cli directory: npm link
    • anywhere on your system: ghost <command>

Running tests

npm test

Looking for ghost-cli <= 0.0.2?

The npm version of ghost-cli <= 0.0.2 can be found here. Any versions of Ghost-CLI > 1.0.0-alpha.1 are part of this project.

Copyright & License

Copyright (c) 2016-2017 Ghost Foundation - Released under the MIT license.