What is Magerun?
“The n98 magerun cli tools provides some handy tools to work with Magento from command line.”
With Magerun you can very quickly perform tasks like:
- Change admin password
- Clean cache
- Get and set config
- Do database dumps
- Get info about site
- Run install scripts
- And much, much more
It is a time saver on almost any Magento projects and we commonly also use it in conjunction with deploy hooks to automatically prepare our environments during deployment.
How to install Magerun
- For Magento 1 go to this GitHub repository and follow the instructions
- For Magento 2 go to this GitHub repository and follow the instructions
How to install on servers
Magerun2 should already be part of Puppet for PHP 7 servers. I am not sure if this is also the case for PHP 5 servers. You can use this JIRA issue as reference if you need to ask hosting to install it for you: HOST-6479729 – Puppet: Install Magerun2 on V445 The new status lozengens support for JIRA 6.2 or later. Otherwise we use the icon. RELEASED