Skip to content

Commit fbbaf7b

Browse files
BahmanMDOskarStark
authored andcommitted
Update setup.rst ( version 6.0 )
1 parent b8bfda3 commit fbbaf7b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

setup.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ application:
4949
.. code-block:: terminal
5050
5151
# run this if you are building a traditional web application
52-
$ symfony new my_project_directory --webapp
52+
$ symfony new my_project_directory --version=6.0.* --webapp
5353
5454
# run this if you are building a microservice, console application or API
55-
$ symfony new my_project_directory
55+
$ symfony new my_project_directory --version=6.0.*
5656
5757
The only difference between these two commands is the number of packages
5858
installed by default. The ``--webapp`` option installs all the packages that you
@@ -64,12 +64,12 @@ Symfony application using Composer:
6464
.. code-block:: terminal
6565
6666
# run this if you are building a traditional web application
67-
$ composer create-project symfony/skeleton my_project_directory
67+
$ composer create-project symfony/skeleton:"6.0.*" my_project_directory
6868
$ cd my_project_directory
6969
$ composer require webapp
7070
7171
# run this if you are building a microservice, console application or API
72-
$ composer create-project symfony/skeleton my_project_directory
72+
$ composer create-project symfony/skeleton:"6.0.*" my_project_directory
7373
7474
No matter which command you run to create the Symfony application. All of them
7575
will create a new ``my_project_directory/`` directory, download some dependencies
@@ -273,14 +273,14 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
273273
$ symfony new my_project_directory --version=next
274274
275275
# you can also select an exact specific Symfony version
276-
$ symfony new my_project_directory --version=5.4
276+
$ symfony new my_project_directory --version=5.4.*
277277
278278
The ``lts`` and ``next`` shortcuts are only available when using Symfony to
279279
create new projects. If you use Composer, you need to tell the exact version:
280280

281281
.. code-block:: terminal
282282
283-
$ composer create-project symfony/skeleton:"^5.4" my_project_directory
283+
$ composer create-project symfony/skeleton:"5.4.*" my_project_directory
284284
285285
The Symfony Demo application
286286
----------------------------

0 commit comments

Comments
 (0)