Install and upgrade chromium on OS X.

Chromium

I like to have both Chromium and Chrome installed on my mac, but installing Chromium is not as easy as installing Chrome. Chromium required me to find the tarballs that were generated from the Chromium source control, and to make sure that I was only pulling the tarball if my Chromium version was out of date. Because of this, mac-chromium was born.

View the project page on github

Usage

Run the script from the command line to download and install the latest Chromium

Examples

Check to see if there is a newer version of Chromium available

$ ./mac-chromium.sh -c
Chromium is out-of-date!
Current Version :: 146768
Latest Version  :: 148329

Download and install the newest chromium for mac

~$ mac-chromium.sh
Chromium is out-of-date!
Current Version :: 146768
Latest Version  :: 148329
Downloading the latest chromium...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 38.3M  100 38.3M    0     0  1432k      0  0:00:27  0:00:27 --:--:-- 3013k
Installed Chromium 148329

Check for an update, exit 0 if up-to-date, 1 if there’s an update, 2 if error

~$ mac-chromium.sh -cq

Download and install the newest chromium with no output

~$ mac-chromium.sh -q

Options

-h : print this message and exit
-c : check only, don't upgrade
-f : force an update even if chromium is running
-q : suppress output, just use exit codes

License

BSD 3 Clause