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 | php -d "allow_url_fopen = 1" -d "open_basedir =" -- --install-dir=/usr/local/bin --filename=composer

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.