Google Chrome is a free web browser used by millions of users across the world. Especially with quick service and a user-friendly interface, it has become the most popular browser on the Windows OS and Mac OS X. Installing the Chrome browser is as simple as its interface. You might familiar with the installation of the Chrome browser that is quite straightforward and it is as simple as its interface.
But do you know that you can even install the Chrome browser using a simple command-line? Doesn’t it sound interesting? In this guide, we will explain a pretty easy way to install Google Chrome using Windows PowerShell.
Install Google Chrome using PowerShell
As we know that the default browser of a Windows Operating System is Microsoft Edge. If you plan to install Chrome using Windows PowerShell, then here is the method using which you can do it.
Click on the Start button and type PowerShell.
Right-click on the Windows PowerShell and select Run as administrator.
If UAC prompts on the screen, click on the Yes button to give your consent.
When Windows PowerShell page opens, copy and paste the following command-line:
$LocalTempDir = $env:TEMP; $ChromeInstaller = "ChromeInstaller.exe"; (new-object System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/375.126/chrome_installer.exe', "$LocalTempDir\$ChromeInstaller"); & "$LocalTempDir\$ChromeInstaller" /silent /install; $Process2Monitor = "ChromeInstaller"; Do { $ProcessesFound = Get-Process | ?{$Process2Monitor -contains $_.Name} | Select-Object -ExpandProperty Name; If ($ProcessesFound) { "Still running: $($ProcessesFound -join ', ')" | Write-Host; Start-Sleep -Seconds 2 } else { rm "$LocalTempDir\$ChromeInstaller" -ErrorAction SilentlyContinue -Verbose } } Until (!$ProcessesFound)
Press the Enter key and wait till it finishes.
Also, make sure your Windows 10 computer system is connected with the internet connection otherwise, it won’t work.
In a few seconds, the Chrome browser will get installed on your computer.
I hope this article would be helpful for you.
Now read: How to open Chrome or Firefox using the command line.