Skip to content

Instantly share code, notes, and snippets.

@michel
Created March 17, 2011 10:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michel/874137 to your computer and use it in GitHub Desktop.
Save michel/874137 to your computer and use it in GitHub Desktop.
Download and install latest Chromium build on OS X. For a quick install run the following command in your console: curl https://gist.github.com/raw/874137/2f045246310587f5384c9db57e62f049e89ffbc6/download_chromium.sh > download_chromium.sh; chmod +x down
#!/bin/bash
BASEDIR=http://build.chromium.org/f/chromium/snapshots/Mac
mkdir -p /tmp/chromium_nightly
cd /tmp/chromium_nightly
echo "Downloading number of latest revision"
REVNUM=`curl -# $BASEDIR/LATEST`
echo "Found latest revision number $REVNUM, starting download"
curl $BASEDIR/$REVNUM/chrome-mac.zip > $REVNUM.zip
echo "Unzipping..."
unzip $REVNUM.zip 2>&1 > /dev/null
echo "Done."
echo "Moving to Applications directory..."
rm -rf /Applications/Chromium.app/
mv chrome-mac/Chromium.app/ /Applications/
echo "Done, update successful"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment