Skip to content

Installation and Update

cmuench edited this page Jan 31, 2013 · 8 revisions

Installation

There are two ways to install the tools:

Download phar file

wget https://github.com/netz98/n98-magerun/raw/master/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/

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 vendor/bin/n98-magerun
    

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

Update

Since version 1.1.0 we deliver a self-update script within the phar file:

n98-magerun.phar self-update

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

Clone this wiki locally