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
Servebolt has launched Accelerated Domains!
Accelerated Domains is a service that greatly improves and optimizes your site on these four areas: Performance, Scalability, Security and the Carbon footprint of your website.