Skip to content

Instantly share code, notes, and snippets.

@ivan-c
Created March 6, 2018 07:39
Show Gist options
  • Save ivan-c/c07c0d58f261c8057be483f073c32a9b to your computer and use it in GitHub Desktop.
Save ivan-c/c07c0d58f261c8057be483f073c32a9b to your computer and use it in GitHub Desktop.
install composer
#!/bin/sh -e
COMPOSER_SCRIPT_VERSION="${COMPOSER_SCRIPT_VERSION:-a68fc08d2de42237ae80d77e8dd44488d268e13d}"
wget "https://raw.githubusercontent.com/composer/getcomposer.org/${COMPOSER_SCRIPT_VERSION}/web/installer"
php installer \
--filename composer \
--install-dir "$HOME/bin" \
--version 1.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment