Create a free account to get access to additional free training videos. Enjoy this free video from CraftQuest! Create a free account to get access to additional free training videos. Join the Community
How to safely update an existing project to Craft 3.7 beta.
The best way to test Craft 3.7 beta in an existing project is to create a new Git branch locally, clone the local database and update the
.env file to point to the new database. This way, you isolate the Craft 3.7 beta entirely from any other local development work you have going on.
Once you do that, update the
composer.json file for the project and change the version of Craft to
This SemVer string will get you the beta 1 and everything that comes after it until
To get the beta version of Craft, update Composer in the project to pull down the latest dependencies.
$ composer update
You should see the 3.6.x to 3.7.0‑beta.1 update printed out to the screen.
The final step is to update the database with any changes required by 3.7 beta using the migrations command.
$ php craft migrate/all
If you’re running Nitro, then you’ll use:
$ nitro craft migrate/all
You can also simply open up the Craft control panel for the project and it will prompt you to run the migrations.