php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d85314
8a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') {
echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-s
etup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Installer Options
--install-dir
You can install composer to a specific directory by using the --install-dir opti
on and providing a target directory. Options must be appended to -- so that PHP
ignores them, like -- --install-dir=bin, example:
php composer-setup.php --install-dir=bin
--filename
You can specify the filename (default: composer.phar) using the --filename optio
n. example:
php composer-setup.php --filename=composer
--version
You can install composer to a specific release by using the --version option and