Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cross platform Install for composer -requires bash, curl, git and php
# for name in {bash,curl,git,php} ; do which $name ; done
mkdir -p /usr/local/bin
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment