n98-magerun2 v2.1.1 released

A new version of n98-magerun2 for Magento 2 is released.

The new release contains improvements and fixes and one new command to change the password of a customer.

  • Imp: Polish code – Comvert array syntax and corrected docblocks (by Christian Münch)
  • Fix: Fixed running cronjobs configured in database, scheduled imports for example (by Johan Spoelstra)
  • New: Add customer:change-password command (by Christian Münch)
  • Imp: Add requirements for Magento 2.2 / make:module in dev:console (by Christian Münch)
  • Fix: Fix version for Magento CE 2.1.10 download (by Mystix)
  • Fix: Ignore the public folder when gathering the magerun scripts (by Mark Simon)
  • Imp: Add 2.2.1 + 2.1.10 to install command (by Alexander Menk, #335)
  • Imp: Add Magento-Root to sys:info command (by Christian Münch)
  • Imp: Magento keys are now found in Magento Marketplace (by Jonas Hünig. #325)
  • Fix: Fix bash autocompletion, fixes (Tom Klingenberg, Floddy, #331)

Phive support for n98-magerun

With the growing number of Composer packages in the PHP Universe, we have more integrations. On the downside, we get more and more version conflicts. n98-magerun, especially Version 2, has to to deal with a wide range of dependencies. One of the advantages of n98-magerun is that you are able to manage multiple Magento versions with only one tool installation. This means that we as maintainer have to support various different Magento dependencies at once. Maybe this is not anymore possible in the future, according to unresolvable conflicts with new Magento dependencies.

This is one of the purposes that we recommend the use of the .phar distribution over of a Composer installation. Other tools have similar problems. That is why Phive was created.

What is Phive

Phive is a tool manage tool distributed as phar file. Have a look on to see a list of popular tools like PHPUnit, PHPStan, phpDoc etc. which can easily be installed with Phive.

New in the list of available tools is “n98-magerun” and “n98-magerun2”.

How does this works?

First, you install Phive on your machine.

Now you can install n98-magerun with Phive in your Project.

phive install n98-magerun
Phive downloads the .phar file and puts it under ~/.phive. In the project only a symlink will be generated. It is also possible to install different versions of one tool. Every project can have it’s own tool dependencies.

Phive creates a “phive.xml” file in your project root directory. In this file you can specify version contraint similar to composer’s contraints for the targeted tools.


For a good security, all phar files are checked against a GPG key. We added support for GPG Signature checks to our files.

On our download site, we provide the SHA-256 and the GPG Signature to verify the download manually. If you download with Phive, GPG verification is already included.

To download the GPG signature manually, add “.asc” to the download URL of the phar file.



GPG Signature:

A verification can be done with this script:

We hope you like the new additional way to download n98-magerun 1/2.

Have fun!