Skip to content

Instantly share code, notes, and snippets.

@fbrnc
Last active December 18, 2015 23:49
Show Gist options
  • Save fbrnc/5864315 to your computer and use it in GitHub Desktop.
Save fbrnc/5864315 to your computer and use it in GitHub Desktop.
Install some dev-tools
TARGETFOLDER="/usr/local/bin"
sudo curl -sSo $TARGETFOLDER/modman https://raw.github.com/colinmollenhour/modman/master/modman && sudo chmod +x $TARGETFOLDER/modman
sudo curl -sSo $TARGETFOLDER/n98-magerun.phar https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar && sudo chmod +x $TARGETFOLDER/n98-magerun.phar
sudo curl -sSo $TARGETFOLDER/phpunit.phar https://phar.phpunit.de/phpunit.phar && sudo chmod +x $TARGETFOLDER/phpunit.phar
sudo curl -sSo $TARGETFOLDER/phploc.phar https://phar.phpunit.de/phploc.phar && sudo chmod +x $TARGETFOLDER/phploc.phar
sudo curl -sS https://getcomposer.org/installer | php -- --install-dir=$TARGETFOLDER
@LeeSaferite
Copy link

Might be better to use /usr/local/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment