Created
March 8, 2016 15:46
-
-
Save nflint/4308cd456c73f10101b0 to your computer and use it in GitHub Desktop.
magerun installation script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bin/bash | |
#Installing on Mac or Linux (sets the magerun command to “magerun” for brevity) | |
# first cd into your /usr/local/bin | |
cd /usr/local/bin | |
# download the latest copy from magerun | |
curl -L -o n98-magerun.phar http://files.magerun.net/n98-magerun-latest.phar | |
# now make the file executable | |
chmod +x ./n98-magerun.phar | |
# change the name of the file so the commands are a little cleaner | |
mv n98-magerun.phar magerun |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment