Using console commands
Working with CLI
We have our PHP compiled, Composer installed, Magento 2 installed. But how access them? Everything is scattered across the file system.
That is where CLI comes in handy. It provides aliases for PHP, Composer and Magento in your project. We can open it by running a command:
Now we have access to PHP, Composer and Magento, we can install PHP dependencies, upgrade Magento and so on.
Common Usage
Flushing Magento cache
Magento upgrade
Upgrading Composer dependencies
Last updated