diff --git a/docs/book/installation/installation.rst b/docs/book/installation/installation.rst index 8b56b3bf78..42132d72c4 100644 --- a/docs/book/installation/installation.rst +++ b/docs/book/installation/installation.rst @@ -19,6 +19,18 @@ To begin creating your new project, run this command: composer create-project sylius/sylius-standard acme +.. tip:: + + We are about to release a new major version of Sylius, which is going to be 2.0. + Worry not, upgrading from 1.x to 2.x will be possible. + It is currently recommended to start with 1.x and upgrade the project once 2.0 is there, + but if you'd like to start playing around with the still-in-progress version, you can use this command to set the environment + on Sylius 2.0-ALPHA.X/BETA.X. + + .. code-block:: bash + + composer composer create-project --stability=dev sylius/sylius-standard:2.0.x-dev acme + .. note:: Make sure to use PHP ^8.1. Using an older PHP version will result in installing an older version of Sylius. diff --git a/docs/getting-started-with-sylius/installation.rst b/docs/getting-started-with-sylius/installation.rst index 2e1d87b9be..90e2472371 100644 --- a/docs/getting-started-with-sylius/installation.rst +++ b/docs/getting-started-with-sylius/installation.rst @@ -28,6 +28,18 @@ The easiest way to install Sylius on your local machine is to use the following It will create a ``MyFirstShop`` directory with a brand new Sylius application inside. +.. tip:: + + We are about to release a new major version of Sylius, which is going to be 2.0. + Worry not, upgrading from 1.x to 2.x will be possible. + It is currently recommended to start with 1.x and upgrade the project once 2.0 is there, + but if you'd like to start playing around with the still-in-progress version, you can use this command to set the environment + on Sylius 2.0-ALPHA.X/BETA.X. + + .. code-block:: bash + + composer composer create-project --stability=dev sylius/sylius-standard:2.0.x-dev acme + .. note:: Are you familiar with Docker? Check out the :doc:`Sylius Installation Guide with Docker `