Magerun

What is Magerun?

From Magerun’s GitHub repository

“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:

  1. Change admin password
  2. Clean cache
  3. Get and set config
  4. Do database dumps
  5. Reindex
  6. Get info about site
  7. Run install scripts
  8. 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

  1. For Magento 1 go to this GitHub repository and follow the instructions
  2. 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

Child pages

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s