Skip to content

Commit 1967b9d

Browse files
Henry Snoekxabbuh
Henry Snoek
authored andcommitted
6555 link to Download instructions page & Windows executable
1 parent 7a3eca6 commit 1967b9d

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)