You are browsing the documentation for version 4.1 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Security Support ends in January 2023. Read version 5.0 (the latest LTS version) of the Oro documentation to get the updated information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
For silent installation, use -n (no interaction) and -q (silence the output messages) parameters, and set the required parameters value, like in the example below. Replace items in bold with the information specific to your deployment.
php -dxcache.cacher=0 bin/console oro:install --application-url=<URL that is configured as an entry point for Oro application> --env=prod --user-name=admin --firstname.lastname@example.org --user-firstname=John --user-lastname=Doe --user-password=admin --sample-data=y --organization-name="Acme, Inc" --language=en --formatting-code=en --timeout=10000
Use –sample-data=y only for learning purposes, test deployments and pre-production deployments. In this mode, OroCommerce is populated with sample data that help you unlock all the features so that you can quickly test the system after re-configuration or customization.
The installation process terminates with the warning if the environment does not meet any of the system requirements. You can try relaunching installation after you fix the reported issue(s).
If any problem occurs, you can see the details in
Normally, the installation process is terminated if it detects an already-existing installation.
After the installation finished remember to run
php bin/console oro:api:doc:cache:clear to warm-up the API documentation cache. This process may take several minutes.