If you don't have it already, install Composer, the command-line package manager for PHP. You'll have to have a copy of Git installed on your machine. The following command uses PHP to download and run the Composer installer, and should be entered on your terminal and executed by pressing Return or Enter:

The commands below assume you have Composer installed globally, a copy of git on your system, and your MySQL/MariaDB server already set up with a database. Once you've got all the required PHP extensions installed, you can get eZ Platform up and running with the following commands:

1
2
3
4
5
6
7

composer create-project --no-dev --keep-vcs ezsystems/ezplatform ezplatform
cd ezplatform
#at the end of the install process, you will be told to perform the following commands:exportSYMFONY_ENV="prod"
php bin/console ezplatform:install clean
php bin/console assetic:dump

eZ Platform exists in several distributions, listed in Installation eZ Platform, some with their own installer as shown in the example below. To install the Enterprise Edition you need an eZ Enterprise subscription and have to set up Composer for that.

The instructions above show how to install the latest stable version, however with Composer you can specify the version and stability as well if you want to install something else. Using composer create-project -h you can see how you can specify another version: