-
Notifications
You must be signed in to change notification settings - Fork 224
Installation and Update
Christian Münch edited this page Aug 4, 2019
·
1 revision
There are two ways to install the tools:
wget http://files.magerun.net/n98-magerun2.phar
You can make the .phar file executable.
chmod +x ./n98-magerun2.phar
If you want to use command system wide you can copy it to /usr/local/bin.
sudo cp ./n98-magerun2.phar /usr/local/bin/n98-magerun2
composer require n98/magerun2-dist
-
Clone git repository:
git clone https://github.com/netz98/n98-magerun2
-
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-magerun2
It's recommended to install the .phar file system wide.
n98-magerun2.phar self-update
If file was installed system wide do not forget "sudo".