How To Download Firefox Without a Web Browser

UPDATE 2/7/2013: Download Chrome Without a Web Browser.

I recently came across an interesting tutorial on how to download FireFox using only the command prompt on Windows XP or Windows Vista, and I have made it a little more user friendly.  This may come in handy in a variety of different situations, or it may just be used in an attempt to convince your friends that you are a hacker. In the quick tutorial below, please note that when I use quotes, it indicates exactly what you should type in, but do not type in the quotes themselves unless explicitly noted.

  1. Go to Start > Run > “cmd” and hit OK. This will load the command prompt.
  2. type “ftp” and hit enter.
  3. type “open releases.mozilla.org” and hit enter.
  4. It will ask for a username, type “anonymous” and hit enter.
  5. It will then ask for a password, type “anonymous” and hit enter.
  6. Open the folder with the latest Windows release of Firefox by typing in:
    “cd pub/mozilla.org/firefox/releases/latest/win32/en-US/” and then enter.
  7. View the contents of the current directory by typing in “ls” and then enter.
  8. Switch to binary file mode by typing in “type image” and then hit enter.
  9. Choose the directory to download firefox to by typing “lcd C:” (Typing this will save it right to the root directory of the C: Drive.
  10. When you typed in “ls” from step 7, it should have listed a .exe file for you.  As of writing the latest version is Firefox Setup 3.0.11.exe.  In this case, we will type in: get “Firefox Setup 3.0.11.exe” (type in the quotes)
  11. Now go check in your c:/ drive, and you should see the .exe file downloaded.
  12. Type “bye” to exit the FTP mode, and then type “exit” to close out of the Command Prompt.

UPDATE 2/7/2013: Download Chrome Without a Web Browser.

Update 7/29/2013: Updated URL structure per comment to ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/win32/en-US/