|
@@ -63,7 +63,7 @@ Linux and OSX.
|
|
|
To actually get Composer, we need to do two things. The first one is installing
|
|
|
Composer (again, this means downloading it into your project):
|
|
|
|
|
|
- $ curl -s https://getcomposer.org/installer | php
|
|
|
+ $ curl -sS https://getcomposer.org/installer | php
|
|
|
|
|
|
This will just check a few PHP settings and then download `composer.phar` to
|
|
|
your working directory. This file is the Composer binary. It is a PHAR (PHP
|
|
@@ -73,7 +73,7 @@ line, amongst other things.
|
|
|
You can install Composer to a specific directory by using the `--install-dir`
|
|
|
option and providing a target directory (it can be an absolute or relative path):
|
|
|
|
|
|
- $ curl -s https://getcomposer.org/installer | php -- --install-dir=bin
|
|
|
+ $ curl -sS https://getcomposer.org/installer | php -- --install-dir=bin
|
|
|
|
|
|
#### Globally
|
|
|
|
|
@@ -83,7 +83,7 @@ executable and invoke it without `php`.
|
|
|
|
|
|
You can run these commands to easily access `composer` from anywhere on your system:
|
|
|
|
|
|
- $ curl -s https://getcomposer.org/installer | php
|
|
|
+ $ curl -sS https://getcomposer.org/installer | php
|
|
|
$ sudo mv composer.phar /usr/local/bin/composer
|
|
|
|
|
|
Then, just run `composer` in order to run Composer instead of `php composer.phar`.
|