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 ^3.7.0-beta.1.
"craftcms/cms": "^3.7.0-beta.1",
This SemVer string will get you the beta 1 and everything that comes after it until 3.8.0.
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.

I am the creator of CraftQuest, a web developer, and former software team manager. I spend most of my time improving CraftQuest with code and courses. When I'm not in front of the computer, I spend my time with my family, and running on the roads and trails of Austin, TX.