Update Ghost 3.X

start of by making sure your machine is up to date and backed up then start focusing on supported tools

Backup ghost


  • export blog data via admin portal/labs/export
  • Backup ghost directory
    • tar czvf ghost-backup.tar.gz yourghostdir

Update time


  • install repo for up to date LTS version of nodejs/npm

    • curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
    • sudo apt-get install -y nodejs
    • node -v
    • npm -v
    • npm install -g npm@latest
    • npm install -g ghost-cli@latest
  • Determine ghost user

    • ls -alh ghostdirectory
    • will list the user/group ghost was installed as
  • update ghost itself (as ghost user)

    • ghost update