What are Craft CMS console commands and how do they work?
The console commands in Craft allow you to take action on Craft without involving a web browser or even the usual limits on memory limits and max execution time PHP imposes on external processes.
A commonly used Craft CMS console command is the one for installing a plugin:
ddev craft plugin/install buggy
But you can also run all database migrations using the
ddev craft migrate/all
Craft console commands are helpful for more time-consuming, memory-intensive tasks, like multiple image transforms, re-saving entries, re-saving matrix blocks.