Menu Close
    Start a Project Request quote Reading list Switch to dark mode

    Magento 1.9.* Installation using CLI

    Magento is an e-commerce based open-source platform which is written in PHP. Magento provides three different platforms,

    • Magento Community Edition
    • Magento Enterprise Edition
    • Magento Enterprise Cloud Edition

    This article will demonstrate how to install Magento 1.9 via CLI (Command-line interface).

    Download Releases For Magento Community Edition 1.x

    Download recent release for Magento community edition 1.x from below url,


    If zip file is downloaded then run below command to unzip downloaded file

    If tar file is downloaded then run below command to untar downloaded file


    Magento InstallATION

    • After unzip/untar download file one directory (magento) will be created.
    • Go inside that directory using below command,
    • To install magento you must have below thing,
      • Database host
      • Database name
      • Database user
      • Database password
      • Domain in which Magento will be install
    • So before installing Magento create a database by following below instruction
      • Login to mysql server using below command,
      • Create DB using below command,
      • To check created database on your mysql server run below command,
      • Then exit from the mysql user account using below command,
    • Now run below command to install Magento
      • locale : Place language code like “en_US” which want to use in Magento.
      • timezone: Place timezone which want to use in Magento.
      • default_currency : Place currency which want to use in Magento.
      • db_host: Place db host where database server is hosted.
      • db_name: Place db name where all tables will be create during installation.
      • db_user: Place db user
      • db_pass: Place db password
      • db_prefix: Place prefix if wanted to use prefix for table name which will create during installation.
      • url: Place domain where Magento will be install
      • admin_username: Place Magento admin login user.
      • admin_password: Place Magento admin password.
    • After running above command a success message with encryption id will appear which will assure for successful installation.

    So this is how to install Magento using CLI. Hope above article will help to install Magento 1.* and thank you for viewing Magento Installation article using CLI.

    Please do comments by here if have any query regarding above article !!

    . . .


    Add Your Comment

    Be the first to comment.

    Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again

    Table of Content

    Hide Index