Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'd like to do something similar to:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

except download the OS X version (from ? URL) and install it from the command line. The corresponding instructions for installing Google Chrome on Ubuntu can be found here. I've searched high and low and Google does not seem to make the link available anywhere.

I'm trying to write a script to automate installation of my standard applications for OS X. I use a set of scripts like this already to set up my Ubuntu box. Specifically, I can't seem to find the URL for the Google Chrome OS X 64 bit direct download.

Edit, final solution:

wget https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg
open ~/Downloads/googlechrome.dmg
sudo cp -r /Volumes/Google\ Chrome/Google\ Chrome.app /Applications/
share|improve this question

2 Answers 2

up vote 4 down vote accepted

I found this after mucking around with the page source:


share|improve this answer
At which point they could open /path/to/googlechrome.dmg and cp /volume/googlechrome/Google\ Chrome.app /Applications/ –  demure Jun 2 '13 at 3:32

I have used a script like this to copy applications from disk images:

mkdir -p $temp/mount
curl https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg > $temp/1.dmg
yes | hdiutil attach -noverify -nobrowse -mountpoint $temp/mount $temp/1.dmg
cp -r $temp/mount/*.app /Applications
hdiutil detach $temp/mount
rm -r $temp
  • Without -mountpoint the dmg is mounted to a directory like /Volume/Google\ Chrome/.
  • -nobrowse doesn't show the volume in Finder.
  • If the dmg has a license agreement, yes | skips it.
  • cp preserves extended attributes (which includes resource forks) and ACLs by default. As far as I know, ditto is no longer needed for copying application bundles.

Or using brew-cask:

brew install brew-cask
brew cask install google-chrome

brew-cask installs applications to /opt/homebrew-cask/Caskroom/ and creates aliases to ~/Applications/ by default.

share|improve this answer
+1 for the mention of brew-cask which seems very useful for improving Homebrew. –  dghubble Jun 3 '13 at 1:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.