Edit on GitHub
Jump to docs navigation

Upgrading / Updating Bolt

Note: You are currently reading the documentation for Bolt 4.0. Looking for the documentation for Bolt 5.2 instead?

Note: This page is for updating an existing Bolt 4 installation. If you are updating from Bolt 3 or 2, see Upgrading a site from version 2 / 3 to 4.0 instead.

As with all web-based applications, it's good practice to keep your site up to date with the latest version. Bolt is built in such a way, that none of the files that are used for the configuration are included in the distribution files. In practice, this means that upgrading Bolt works almost the same way as installing a new copy of bolt.

If you run into issues after installing, you may have to repeat setting the permissions on some directories.

Updating on the command line

If you're using the command line, updating a Bolt 4 installation is really easy.

  • Check if you have a composer.json file.
  • Make sure you have Composer. If not, get it here
  • Run composer update or php composer.phar update.
  • After updating, the cache will be cleared, and additional chores are done automatically.

To summarize:

composer update

Updating over (S)FTP

If possible, avoid doing this. [todo: Write docs for this]

Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.