serial-18

1 min read

Ghost-CLI is now 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

  1. SSH into your DigitalOcean droplet:
ssh [username]@[yourdomain.com] 

2.  Move into your Ghost folder:

cd /var/www/ghost

3. Make sure the ghost-cli is updated

sudo npm i -g ghost-cli@latest 

4. Run the Ghost update command

ghost update

Done! This will update Ghost to the latest version for you.

Ubuntu (Other OS's not supported)

  1. SSH into the server that hosts your Ghost blog:
 ssh [username]@[yourdomain.com]

2. Move into your Ghost folder:

 cd /var/www/ghost

3. Update the ghost-cli

 sudo npm i -g ghost-cli@latest

4. Run the Ghost update command:

ghost update

Done! This will update Ghost to the latest version for you.

Rayhan

Rayhan

But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual.