Skip to content

Instantly share code, notes, and snippets.

@radiumsoup
Forked from timothywarner/install-chrome.ps1
Last active September 25, 2023 20:21
Show Gist options
  • Select an option

  • Save radiumsoup/2e509470840aff022a533b3531c3f411 to your computer and use it in GitHub Desktop.

Select an option

Save radiumsoup/2e509470840aff022a533b3531c3f411 to your computer and use it in GitHub Desktop.
Install Chrome browser with a PowerShell one-liner
# Installes the latest version of Chrome for Windows
$Path = $env:TEMP; $Installer = 'chrome_installer.exe'; Invoke-WebRequest -Uri 'http://dl.google.com/chrome/install/latest/chrome_installer.exe' -OutFile $Path\$Installer; Start-Process -FilePath $Path\$Installer -Args '/silent /install' -Verb RunAs -Wait; Remove-Item -Path $Path\$Installer
# Thank you, nicolaigj!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment