@@ -14,35 +14,24 @@ following sections.
14
14
Install Composer on Linux and Mac OS X
15
15
--------------------------------------
16
16
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:
18
19
19
- .. code-block :: bash
20
+ .. code-block :: bash
20
21
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
34
23
35
24
Install Composer on Windows
36
25
---------------------------
37
26
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.
40
28
41
29
Learn more
42
30
----------
43
31
44
32
Read the `Composer documentation `_ to learn more about its usage and features.
45
33
46
34
.. _`Composer` : https://getcomposer.org/
47
- .. _`getcomposer.org/download` : https://getcomposer.org/download
48
35
.. _`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