Skip to content

Instantly share code, notes, and snippets.

@nflint
Created March 8, 2016 15:46
Show Gist options
  • Save nflint/4308cd456c73f10101b0 to your computer and use it in GitHub Desktop.
Save nflint/4308cd456c73f10101b0 to your computer and use it in GitHub Desktop.
magerun installation script
#!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