removes sudo from global installation
The /usr/local/bin folder should require sudo access.pull/1807/head
parent
19bfd6c713
commit
f6b39e4c40
|
@ -84,7 +84,7 @@ executable and invoke it without `php`.
|
||||||
You can run these commands to easily access `composer` from anywhere on your system:
|
You can run these commands to easily access `composer` from anywhere on your system:
|
||||||
|
|
||||||
$ curl -sS https://getcomposer.org/installer | php
|
$ curl -sS https://getcomposer.org/installer | php
|
||||||
$ sudo mv composer.phar /usr/local/bin/composer
|
$ mv composer.phar /usr/local/bin/composer
|
||||||
|
|
||||||
Then, just run `composer` in order to run Composer instead of `php composer.phar`.
|
Then, just run `composer` in order to run Composer instead of `php composer.phar`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue