Child pages
  • Installing PrestaShop using the command line

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


This special installer makes it possible to install PrestaShop without the need to use a web browser: simply put the file content of the zip archive on your web server, and you can install PrestaShop through your command-line interface (CLI). Any CLI software can be used as long as you can use it to interact with the server's commands: Bash, Windows PowerShell, OS X Terminal, PuTTY, etc.


The CLI installer is easy to use: from your terminal, go to the /install (or /install-dev) folder, and start the script with this command:


  • domain. The location where you want your store to appear.
  • db_server. The database server address.
  • db_name. The name of the database you want to use.
  • db_user. The database username you want to use.
  • db_password. The password for the database username above.

For instance:

Code Block
$ php install_cli.php --db_name=prestashop --db_user=root --db_password=123456789


If you also set the --email value to your own address, a recap e-mail will be sent to you once the install installation is done.

That's it!