Magento 2 Online Course | Lesson #10 – How to work with console in Magento 2
Go to the site root of Magento 2 and start console.
We use Windows OS. To get access to the console here we should type cmd in the path line of File Explorer and press Enter.
Full Course Coupon -50% OFF
To get access to a list of all available Magento 2 commands type php bin/magento in the console and press Enter.
You will see all available commands supported by Magento CLI (Command Line Interface).
For example, php bin/magento list will show you a list of all commands.
It is possible to do practically any operation in Magento 2 console: clean cache, reindex data, enable/disable modules etc.
For example, to see a system modules list type php bin/magento module:status.
We will constantly use console during our work with Magento because some things can be done only in it.