Update the Ghost CLI
Some operations such as upgrading Ghost require the updating of the Ghost CLI. To update the Ghost CLI follow these steps:
$ cd installdir/apps/ghost/lib $ sudo npm install ghost-cli
You may see warnings related to package.json during the update process. These warnings can safely be ignored.
TIP: If the npm install command fails, run the following:
$ sudo mv package.json package.json.back $ sudo npm install ghost-cli $ sudo mv package.json.back package.json