How to download Firefox via command line FTP

command linefirefoxftp

I am attempting to install Firefox on my Mac, which currently does not have a browser. From a bash terminal I have ftp installed and am currently connected to the internet. However, I have been unsuccessful in connecting to their FTP server. How do I go about installing Firefox for my Mac via the command line?

Best Answer

You can skip the download step, and mount it directly over the internet like so:

hdiutil attach https://ftp.mozilla.org/pub/firefox/releases/43.0.4/mac/en-US/Firefox\ 43.0.4.dmg

Saves a step, time, and storage space!

Related Question