Last Updated: January 09, 2019
·
1.131K
· skyzyx

Bash one-liner to install Composer for Mac/Linux

This is great for adding to a Makefile for your project.

curl -sSL https://raw.githubusercontent.com/composer/getcomposer.org/master/web/installer \
    | php -- --install-dir=/usr/local/bin --filename=composer