Skip to content

Installation and Update

Tom Klingenberg edited this page Apr 12, 2016 · 8 revisions

Installation

There are two ways to install the tools:

Download phar file

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

You can make the .phar file executable.

chmod +x ./n98-magerun.phar

If you wan't to use command system wide you can copy it to /usr/local/bin.

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

From source with composer

  1. Clone git repository:

    git clone https://github.com/netz98/n98-magerun
    
  2. Download composer:

    curl -s https://getcomposer.org/installer | php
    
  3. Let composer do all the work for you:

    php ./composer.phar install
    
  4. Run cli.php:

    php bin/n98-magerun
    

It's recommended to install the .phar file system wide.

Update

Since version 1.1.0 we deliver a self-update command:

n98-magerun.phar self-update

If file was installed system wide do not forget "sudo".

Clone this wiki locally