User Agents

Web browsers and everyday web tech, explained

Install Chrome via CMD: Step-by-Step Guide

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Installing Google Chrome via Command Prompt (CMD) allows for silent, automated deployment—ideal for system administrators managing multiple machines or users who prefer command-line operations. This method bypasses the need to manually download and run the installer from a browser. Instead, you use CMD with administrative privileges to download and install Chrome directly from Google's servers using command-line tools like PowerShell or curl (if available). This guide walks you through the process safely and efficiently, ensuring a clean installation without errors.

What You'll Need

  • Windows 10 or Windows 11 (64-bit or 32-bit)
  • Administrator access to the computer
  • Active internet connection
  • Command Prompt opened as Administrator
  • PowerShell (usually pre-installed on modern Windows systems)

Step-by-Step

  1. Press the Windows key, type "cmd", right-click on "Command Prompt", and select "Run as administrator". Confirm the User Account Control (UAC) prompt if it appears.
  2. In the elevated CMD window, type whoami and press Enter. Verify that the output includes your username with administrative privileges. This ensures you have the correct permissions.
  3. Decide whether you want the 64-bit or 32-bit version of Chrome. Most modern systems use 64-bit. To check your system architecture, type echo %PROCESSOR_ARCHITECTURE% and press Enter. If it returns "AMD64", use the 64-bit installer; if "x86", use the 32-bit.
  4. Use PowerShell from within CMD to download Chrome. Type the following command and press Enter:
    powershell -Command "Invoke-WebRequest -Uri 'https://dl.google.com/chrome/install/latest/chrome_installer.exe' -OutFile '%TEMP%\chrome_installer.exe'"
    This downloads the offline installer to your temporary folder.
  5. Wait for the download to complete. You won’t see a progress bar, but the command will return to the prompt when finished. Ensure no error messages appear.
  6. Run the installer silently using this command:
    "%TEMP%\chrome_installer.exe" --silent --install
    The --silent flag prevents any user interface from appearing, making it ideal for automated setups.
  7. Wait 10–20 seconds. The installer runs in the background. Once complete, Chrome is installed to the default location: C:\Program Files\Google\Chrome\Application\chrome.exe (64-bit) or C:\Program Files (x86)\Google\Chrome\Application\chrome.exe (32-bit).
  8. Verify the installation by typing:
    "C:\Program Files\Google\Chrome\Application\chrome.exe" --version
    If Chrome is installed correctly, this returns the version number.
  9. To launch Chrome from CMD, simply type:
    start chrome
    Windows will open the browser using the default installation path.
  10. (Optional) Clean up the installer file by running:
    del "%TEMP%\chrome_installer.exe"
    This removes the temporary installer to free up space.

Common Mistakes

  • Not running CMD as administrator: Without admin rights, the installer cannot write to protected directories, resulting in silent or explicit failures.
  • Using the wrong architecture link: While the default URL serves the correct version based on your system, manually specifying an incorrect installer (e.g., 32-bit on a 64-bit system) may work but isn’t optimal.
  • Typing commands incorrectly: Missing quotes, typos in flags (e.g., --slient), or incorrect paths can halt execution without clear error messages.
  • Assuming the installer is interactive: The --silent flag suppresses all UI. Users may think nothing happened if they don’t check the version or look for the process.
  • Running the command on a system without PowerShell: While rare, some minimal Windows installations may lack PowerShell. The Invoke-WebRequest command will fail in such cases.

Tips

  • Use curl if available: Some Windows versions include curl. You can download the installer with:
    curl https://dl.google.com/chrome/install/latest/chrome_installer.exe -o %TEMP%\chrome_installer.exe
  • Deploy across multiple machines using a batch script: Save the commands in a .bat file and run it on each system with admin rights.
  • Check Google’s official download URLs: The link https://dl.google.com/chrome/install/latest/chrome_installer.exe always serves the latest stable version and is safe to use in automation.
  • Monitor installation via Task Manager: While the install runs silently, you can verify activity by checking for chrome_installer.exe under Processes.
  • Use start /wait in scripts: When scripting, use start "" /wait "%TEMP%\chrome_installer.exe" --silent --install to ensure the next command runs only after installation finishes.

Troubleshooting

If Chrome fails to install via CMD, follow these steps:

  • No download occurs: Confirm internet access in CMD by pinging Google: ping google.com. If unreachable, check network settings. Also ensure PowerShell is not restricted. Run powershell -Command "Get-ExecutionPolicy"—if it returns Restricted, temporarily allow scripts with Set-ExecutionPolicy RemoteSigned -Scope CurrentUser (requires admin).
  • 'Access is denied' error: This almost always means CMD isn’t running as administrator. Close CMD and reopen it with elevated privileges.
  • Installer fails silently: Check the Temp folder: explorer %TEMP%. Look for chrome_installer.exe. If missing, the download failed. If present, run it manually to see error messages.
  • Chrome not found after install: Use File Explorer to navigate to C:\Program Files\Google\ or C:\Program Files (x86)\Google\. If Chrome isn’t there, the installer may have been blocked by antivirus. Temporarily disable it and retry.
  • 'Command not recognized' for curl or PowerShell: Ensure Windows Management Framework is installed. On older systems, update Windows to include PowerShell 3.0 or higher.

Frequently Asked Questions

Can I install Chrome via CMD without PowerShell?

Yes, if you have curl or wget installed via another tool like Git Bash or WSL. Otherwise, PowerShell is required for direct download within native CMD.

Is the silent install safe?

Yes. The --silent --install flags are officially supported by Google and do not modify system settings beyond installing Chrome.

Does this method install updates automatically?

Yes. Once installed, Chrome automatically updates in the background like any standard installation.

Can I install Chrome for all users via CMD?

Yes. Running CMD as administrator ensures the installer places Chrome in a system-wide location, making it available to all user accounts.

Why use CMD instead of downloading manually?

CMD installation enables automation, remote deployment, and integration into setup scripts—ideal for IT administrators managing multiple devices.

Is this method supported by Google?

While Google doesn’t document CMD installation directly, the installer supports silent flags, and the download URL is official and stable, making this a reliable method.