Reading list Switch to dark mode

    Magerun Magento command line tool

    Updated 16 July 2014

    Magerun Magento command line tool – As we ( https://store.webkul.com ) are proud to have more than 500+ plugins and 25000+ customers but to manage such great no of modules and projects we are always trying to setup best magento environment in the world , so today we will discuss another great tool for the magento developer “magerun” . using this tool you can manage almost everything from the command line , mainly those steps or process which are consuming most of your development time . magerun really shorten those setup time and forces you to focus only on development and application programming .

    Installation – Installation is pretty easy as you can download it from github using wget or curl you may find details at github page for it .

    wget https://raw.githubusercontent.com/netz98/n98-magerun/master/n98-magerun.phar

    or using curl

    curl -o n98-magerun.phar https://raw.githubusercontent.com/netz98/n98-magerun/master/n98-magerun.phar

    after that you will get a phar file you need to change the permission of the files and move in to the bin as we are using centos so after changing the permission we move the files in to usr/local/bin

    chmod +x ./n98-magerun.phar
    sudo cp ./n98-magerun.phar /usr/local/bin/

    thats it now installation and setup part is done .

    Searching for an experienced
    Magento 2 Company ?
    Find out More

    How to use magerun – Its very easy to use it like any linux command you need to types

     n98-magerun.phar with options or command. suppose that you want to install magento using magerun then its very easy follow the command using

     n98-magerun.phar install

    and  you will see that how easy is to install magento

    magerun install

    you can choose what version of magento you want to install with sample data or not

    magerun setup webkul

    you need to setup your details for database and url . you may get the complete command reference at https://github.com/netz98/n98-magerun/wiki/Command-Reference

    like clearing cache or getting the information about your magento system

    mage run clean cache magerun sysinfo

     

    . . .

    Leave a Comment

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


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home