Learn how to update your self-hosted Ghost install to the latest version
Our team release updates to the open source software every week, and you can find out whether new updates are available any time by running
If you’re already running the latest major version (
5.x) - update using Ghost CLI with two commands:
ghost backupto generate a full backup of your site data
- Then, run
Updating to the latest major version
If you’re not yet on the latest major version, there are two recommended methods for updating your Ghost install, depending on what version you’re currently on, and what type of database you’re using in production. Below is a full breakdown of the the recommended update paths.
Updates are recommended for sites that are:
- Running Ghost version
3.0.0or higher and are using MySQL in production
- Development sites using any database
A full reinstall of Ghost is recommended for sites that are:
- Running on a Ghost version less than
- Using SQLite3 in production on any Ghost version
If you’re using MariaDB it is recommended to migrate to MySQL 8 - read more about supported databases.