Macos – How tonstall Google Chrome from the command line

command linegoogle-chromemacos

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/

Best Answer

I found this after mucking around with the page source:

https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg