There are two ways to install the tools:

Download phar file

wget https://files.magerun.net/n98-magerun.phar

or if you have problems with SSL certificate:

curl -L -o n98-magerun.phar https://files.magerun.net/n98-magerun.phar

You can make the .phar file executable.

chmod +x ./n98-magerun.phar

If you want to use command system wide you can copy it to /usr/local/bin.

sudo cp ./n98-magerun.phar /usr/local/bin/

Debian / suhosin:

On some debian systems with compiled in suhosin the phar extension must be added to a whitelist.

Add this to your php.ini file:

suhosin.executor.include.whitelist="phar"

You don’t like the filename?

Just rename it to whatever you want.

Install with Composer

https://github.com/netz98/n98-magerun/wiki/Install-from-source-with-Composer

Update

Run:

$ n98-magerun.phar self-update

6 Comments

Beheer je Magento shop met n98-magerun | Byte Blog · February 24, 2014 at 15:12

[…] gemaakt op hun servers. Draait je shop niet op een Byte server, bekijk dan de Github pagina of de magerun.net pagina hoe magerun te installeren op jouw server (of verhuis je shop naar Byte […]

Beheer je Magento shop via de command line - n98-magerun - Dutchento · April 8, 2014 at 18:19

[…] gemaakt op hun servers. Draait je shop niet op een Byte server, bekijk dan de Github pagina of de magerun.net pagina hoe magerun te installeren op jouw server (of verhuis je shop naar Byte […]

Theme Refactoring | integer_net GmbH / EN · March 24, 2015 at 11:23

[…] use the tool, you need the Magento command line utility n98-magerun and to install the magerun-addons as plugin (there are several ways to do so). The linked resources […]

Configuring Magento 2 To Use Redis Cache Backend | David Alger · June 23, 2015 at 21:17

[…] your dev sites, a simple call to `redis-cli flushall` will clear all your caches. Handy tools like n98-magerun or bin/magento cache:flush –all in Magento 2 will also do the […]

8 Magento Store Development Tools For Your Online Store | WebHostingXP.com · May 20, 2016 at 08:38

[…] Download n98 Magerun […]

8 Magento Store Development Tools for Your Online Store · January 15, 2020 at 19:48

[…] In other words n98 magerun, helps in all processes which are time consuming. Download n98 Magerun […]

Leave a Reply to Beheer je Magento shop via de command line - n98-magerun - Dutchento Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.