Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6555 link to Download instructions page & Windows executable #6585

Closed
wants to merge 4 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 5 additions & 16 deletions cookbook/composer.rst
Original file line number Diff line number Diff line change
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`_.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

our standards indicate that every list item should end with a semi-colon (except from the last item).

#. Execute the following command to move the ``composer.phar`` to a directory that is in your path:

.. code-block:: bash

$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please indent this block with 3 spaces (this way, it's part of the second item of the list)


.. 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

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