The preferred method for keeping Grav, Plugins and Themes up to date is to use the Grav Package Manager (GPM). Full information can be found in the Grav GPM Documentation.
We also have GPM integrated into our Administration Panel plugin which will check, prompt, and automatically install any updates.
There are multiple ways to find out which version of Grav and plugins the site is using:
bin/gpm version grav
. To get list of theme and plugin versions, you can list them by their names.CHANGELOG.md
file in the root of the Grav installation. Same is true for plugins and themes, they can usually be found in user/plugins
and user/themes
folders.Updating an older version of Grav may need some extra preparations and work because of the increased minimum requirements and potential incompatibilities.
The basic workflow is following:
A detailed guide Upgrading from Grav <1.6 should help you in the process.
For upgrading to the next version, there are special guides to help you to make sure everything still works after upgrade.
NOTE: It is recommended to read the upgrade guides before you install the next version of Grav.
The preferred method for updating Grav is to use the Grav Package Manager (GPM). All you need to do is to navigate to the root of your Grav site and type:
bin/gpm selfupgrade -f
TIP: More information about the command can be found from GPM Command > Self-upgrade.
Plugins and Themes can be kept up to date by running following command from the root of your Grav site:
bin/gpm update
TIP: More information about the command can be found from GPM Command > Update.
Found errors? Think you can improve this documentation? Simply click the Edit link at the top of the page, and then the icon on Github to make your changes.
Powered by Grav + with by Trilby Media.