Magento 2 comes with the command line tool «magento». On a Bolt you can simply write «magento» (rather than bin/magento or php bin/magento like a lot of online docs say) from anywhere, to switch deploy modes, rebuild static assets – or use any of the other command line features.
For most day-to-day management, we usually prefer to use n98-magerun2 instead, as it has a lot of extra features. It’s available as «magerun2» on the command line.
Give us your feedback on this article
By providing us feedback, you can help us provide better content on this topic in the future.
Did this help you?