Installing composer system-wide

Most of the time I don’t want a local install of composer, I want it installed system-wide. Here’s how to do it:

curl -sS https://getcomposer.org/installer | php -d "allow_url_fopen = 1" -d "open_basedir =" -- --install-dir=/usr/local/bin --filename=composer

Leave a Reply