-
-
Notifications
You must be signed in to change notification settings - Fork 400
Installation and Update
Tom Klingenberg edited this page Apr 12, 2016
·
8 revisions
There are two ways to install the tools:
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
-
Clone git repository:
git clone https://github.com/netz98/n98-magerun
-
Download composer:
curl -s https://getcomposer.org/installer | php
-
Let composer do all the work for you:
php ./composer.phar install
-
Run cli.php:
php bin/n98-magerun
It's recommended to install the .phar file system wide.
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".