8000 minor #6585 6555 link to Download instructions page & Windows executa… · symfony/symfony-docs@ed51bdc · GitHub
[go: up one dir, main page]

Skip to content

Commit ed51bdc

Browse files
committed
minor #6585 6555 link to Download instructions page & Windows executable (snoek09)
This PR was squashed before being merged into the 2.3 branch (closes #6585). Discussion ---------- 6555 link to Download instructions page & Windows executable | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | #6555 I decided to not copy any instructions as mentioned on https://getcomposer.org/download/ > WARNING: Please do not redistribute the install code. It will change with every version of the installer. Instead, please link to this page. Commits ------- 1967b9d 6555 link to Download instructions page & Windows executable
2 parents 6c444bd + 1967b9d commit ed51bdc

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

cookbook/composer.rst

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,24 @@ following sections.
1414
Install Composer on Linux and Mac OS X
1515
--------------------------------------
1616

17-
To install Composer on Linux or Mac OS X, execute the following two commands:
17+
#. Run the installer as described in `the official Composer documentation`_;
18+
#. Execute the following command to move the ``composer.phar`` to a directory that is in your path:
1819

19-
.. code-block:: bash
20+
.. code-block:: bash
2021
21-
$ curl -sS https://getcomposer.org/installer | php
22-
$ sudo mv composer.phar /usr/local/bin/composer
23-
24-
.. note::
25-
26-
If you don't have ``curl`` installed, you can also just download the
27-
``installer`` file manually at https://getcomposer.org/installer and
28-
then run:
29-
30-
.. code-block:: bash
31-
32-
$ php installer
33-
$ sudo mv composer.phar /usr/local/bin/composer
22+
$ sudo mv composer.phar /usr/local/bin/composer
3423
3524
Install Composer on Windows
3625
---------------------------
3726

38-
Download the installer from `getcomposer.org/download`_, execute it and follow
39-
the instructions.
27+
Download the installer from `getcomposer.org`_, execute it and follow the instructions.
4028

4129
Learn more
4230
----------
4331

4432
Read the `Composer documentation`_ to learn more about its usage and features.
4533

4634
.. _`Composer`: https://getcomposer.org/
47-
.. _`getcomposer.org/download`: https://getcomposer.org/download
4835
.. _`Composer documentation`: https://getcomposer.org/doc/00-intro.md
36+
.. _`getcomposer.org`: https://getcomposer.org/Composer-Setup.exe
37+
.. _the official Composer documentation: https://getcomposer.org/download

0 commit comments

Comments
 (0)
0