How to Update Ghost

Ghost-CLI is the recommended way to install and update Ghost. Here is how you can do it on DigitalOcean or any other Ubuntu install you use to host Ghost.
DigitalOcean
-
SSH into your DigitalOcean droplet:
ssh [username]@[yourdomain.com]
-
Move into your Ghost folder:
cd /var/www/ghost
-
Make sure the ghost-cli is updated
sudo npm i -g ghost-cli@latest
-
Run the Ghost update command
ghost update
-
Done! This will update Ghost to the latest version for you.
Ubuntu (Other OS's not supported)
-
SSH into the server that hosts your Ghost blog:
ssh [username]@[yourdomain.com]
-
Move into your Ghost folder:
cd /var/www/ghost
-
Update the ghost-cli
sudo npm i -g ghost-cli@latest
-
Run the Ghost update command:
ghost update
-
Done! This will update Ghost to the latest version for you.