8000 6555 link to Download instructions page & Windows executable by snoek09 · Pull Request #6585 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

6555 link to Download instructions page & Windows executable #6585

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

Closed
wants to merge 4 commits into from
Closed
Changes from all 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
25 changes: 7 additions & 18 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`_;
#. 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