Skip to content

Commit

Permalink
6555 link to Download instructions page & Windows executable
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Snoek authored and xabbuh committed May 21, 2016
1 parent 7a3eca6 commit 1967b9d
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions cookbook/composer.rst
Expand Up @@ -14,35 +14,24 @@ following sections.
Install Composer on Linux and Mac OS X
--------------------------------------

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

.. code-block:: bash
.. code-block:: bash
$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer
.. note::

If you don't have ``curl`` installed, you can also just download the
``installer`` file manually at https://getcomposer.org/installer and
then run:

.. code-block:: bash
$ php installer
$ sudo mv composer.phar /usr/local/bin/composer
$ sudo mv composer.phar /usr/local/bin/composer
Install Composer on Windows
---------------------------

Download the installer from `getcomposer.org/download`_, execute it and follow
the instructions.
Download the installer from `getcomposer.org`_, execute it and follow the instructions.

Learn more
----------

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

.. _`Composer`: https://getcomposer.org/
.. _`getcomposer.org/download`: https://getcomposer.org/download
.. _`Composer documentation`: https://getcomposer.org/doc/00-intro.md
.. _`getcomposer.org`: https://getcomposer.org/Composer-Setup.exe
.. _the official Composer documentation: https://getcomposer.org/download

0 comments on commit 1967b9d

Please sign in to comment.