Magento 1 Command Line Tool

Magento 2 comes with command line tool to manage Magento installation. This helps you to do many tasks like clearing cache, install extension easier.

Magento 1 CLI is available from

https://github.com/netz98/n98-magerun

Advertisement

To install Magento 1 command line tool, go to Magento install folder and run

wget https://files.magerun.net/n98-magerun.phar
chmod +x ./n98-magerun.phar

Now you will be able to use the command line with

./n98-magerun.phar

Here is an example how to Upgrade an Extension using CLI

# ./n98-magerun.phar extension:upgrade Auctane_ShipStation
Checking dependencies of packages
Starting to download Auctane_ShipStation-1.3.47.tgz ...
...done: 46,264 bytes
Installing package community/Auctane_ShipStation 1.3.47
Package community/Auctane_ShipStation 1.3.47 installed successfully
Package upgraded: community/Auctane_ShipStation 1.3.47

# 
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement