-
-
Notifications
You must be signed in to change notification settings - Fork 400
Installation and Update
cmuench edited this page Aug 14, 2012
·
8 revisions
There are two ways to install the tools:
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/
-
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 cli.php
It's recommendet to install the .phar file system wide.
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".