Craft CMS 5 Local Development with DDEV

When I start­ed as a free­lance devel­op­er, one of my first projects was to add a new prod­uct sec­tion in time for a con­fer­ence. A day before the con­fer­ence, I launch the new sec­tion and it’s com­plete­ly bro­ken because the MySQL ver­sion on their serv­er was old­er than what I had installed on my Mac.

Nowa­days, it’s much eas­i­er to con­trol your local tech stack and make sure it close­ly resem­bles what’s run­ning on pro­duc­tion. In this arti­cle, we’ll walk through the steps of installing a brand new Craft CMS 5 site local­ly with DDEV.