![]() ![]() ![]() Most likely, you want to put the composer.phar into a directory on your PATH, so you can simply call composer from any directory ( Global install), using for example: Verify the installer SHA-384, which you can also cross-check here.Download the installer to the current directory.Warn you if they are set incorrectly, and thenĭownload the latest composer.phar in the current directory. Sudo mv composer.phar /usr/local/bin/composerįor details, see the instructions on how to install Composer globally. WARNING: Please do not redistribute the install code. It will change with every version of the installer. Instead, please link to this page or check how to install Composer programmatically. You can install composer to a specific release by using the -version option and providing a You can specify the filename (default: composer.phar) using the -filename option.Įxample: php composer-setup.php -filename=composer -version Example: php composer-setup.php -install-dir=bin -filename You can install composer to a specific directory by using the -install-dir option and providingĪ target directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |