Skip to content

Commit 2c94fdc

Browse files
committed
Tweaked the previous merge
1 parent 724fe41 commit 2c94fdc

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

setup.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ commands to create the new Symfony application using Composer:
6161
6262
# run this if you are building a microservice, console application or API
6363
$ composer create-project symfony/skeleton my_project_name
64-
65-
# to specify the version of Symfony to install
66-
$ composer create-project symfony/website-skeleton:^4.x my_project_name
67-
Replace 4.x with the version. IE: 4.4
6864
6965
No matter which command you run to create the Symfony application. All of them
7066
will create a new ``my_project_name/`` directory, download some dependencies
@@ -247,6 +243,16 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
247243
# use the 'next' Symfony version to be released (still in development)
248244
$ symfony new my_project_name --version=next
249245
246+
# you can also select an exact specific Symfony version
247+
$ symfony new my_project_name --version=4.4
248+
249+
The ``lts`` and ``next`` shortcuts are only available when using Symfony to
250+
create new projects. If you use Composer, you need to tell the exact version:
251+
252+
.. code-block:: terminal
253+
254+
$ composer create-project symfony/website-skeleton:^4.4 my_project_name
255+
250256
The Symfony Demo application
251257
----------------------------
252258

0 commit comments

Comments
 (0)