Upgrading / Updating Bolt
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 5.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
- Make sure you have Composer. If not, get it here
php composer.phar update.
- After updating, the cache will be cleared, and additional chores are done automatically.
Updating over (S)FTP¶
If possible, avoid doing this. [todo: Write docs for this]