User Tools

Site Tools


mac:firefox

Firefox

We're using Chrome a lot now, since its developer tools have gotten really good. But we still use Firefox as our secondary browser; it's good, especially along with FireBug.

Installation

# Set which version we're going to download.
FIREFOX_VERSION='24.0'
 
# Download the latest DMG file.
curl -O "http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/${FIREFOX_VERSION}/mac/en-US/Firefox%20${FIREFOX_VERSION}.dmg"
 
# Open the DMG file.
hdiutil attach "Firefox ${FIREFOX_VERSION}.dmg"
 
# Copy the app file into the Applications folder.
cp -a /Volumes/Firefox/Firefox.app /Applications/
 
# Unmount the DMG file.
hdiutil detach /Volumes/Firefox
 
# Add a dock icon.
dockutil --add /Applications/Firefox.app
 
# Remove the file we downloaded.
rm "Firefox ${FIREFOX_VERSION}.dmg"
mac/firefox.txt · Last modified: 2013/10/28 23:32 by Craig Buchek