Winget Chrome Command: Install and Update Google Chrome From the Terminal

Installing apps used to feel like a tiny treasure hunt. Open browser. Search for Chrome. Avoid weird ads. Download file. Click next. Click next again. Hope nothing strange happens. Good news. On Windows, there is a cleaner way. You can install and update Google Chrome from the terminal with winget. It is fast. It is neat. It feels a little bit like being a wizard with a keyboard.

TLDR: Use winget install --id Google.Chrome -e to install Google Chrome from the terminal. Use winget upgrade --id Google.Chrome -e to update it. Winget is the Windows Package Manager, and it helps you install apps with simple commands. It is great for quick setups, clean installs, and keeping software fresh.

What is winget?

Winget is short for Windows Package Manager. It is a command line tool from Microsoft. It lets you install, update, search, and remove apps from the terminal.

Think of it like an app store for your keyboard. You type what you want. Winget goes and gets it. No hunting. No random download buttons. No “Wait, is this the real website?” moment.

Winget works in tools like:

  • Windows Terminal
  • PowerShell
  • Command Prompt

If you use Windows 10 or Windows 11, you may already have it. If not, it comes with the App Installer package from the Microsoft Store.

Why install Chrome with winget?

You can still install Chrome the normal way. That works fine. But using winget has some nice perks.

  • It is fast. One command can install Chrome.
  • It is simple. You do not need to click through pages.
  • It is repeatable. Use the same command on many PCs.
  • It is cleaner. You install the right package by ID.
  • It is great for setup scripts. New computer day becomes easier.

It is also fun. There is something satisfying about typing one line, pressing Enter, and watching your computer do the boring part for you.

The main winget Chrome install command

Here is the simple command to install Google Chrome:

winget install --id Google.Chrome -e

That is the magic line.

Let’s break it down:

  • winget starts the Windows Package Manager.
  • install tells winget you want to install something.
  • --id Google.Chrome tells winget the exact app package.
  • -e means exact match. This helps avoid similar app names.

The package ID for Google Chrome is:

Google.Chrome

That ID is useful. It is like Chrome’s name tag in the winget world.

How to install Google Chrome from the terminal

Follow these steps. They are quick.

  1. Open the Start menu.
  2. Type Terminal or PowerShell.
  3. Open it.
  4. Type this command:
winget install --id Google.Chrome -e
  1. Press Enter.
  2. Accept any prompts if they appear.
  3. Wait for the install to finish.

That is it. Chrome should now be installed.

Sometimes winget may ask you to accept source terms or package agreements. That is normal. Read the prompt. Then press the correct key to continue.

Install Chrome without extra prompts

If you are setting up a new PC, you may want a command that accepts agreements right away. This can help with scripts.

winget install --id Google.Chrome -e --accept-package-agreements --accept-source-agreements

This command tells winget to accept the needed agreements. It can save time. It is useful when you already trust the package and source.

Want a quiet install? You can try:

winget install --id Google.Chrome -e --silent

The --silent option asks the installer to run with less clicking. Not every installer behaves the same way. But Chrome usually handles this well.

How to update Google Chrome with winget

Chrome often updates itself in the background. It is pretty good at that. Still, winget can check and update it too.

Here is the winget Chrome update command:

winget upgrade --id Google.Chrome -e

This tells winget to upgrade Chrome if a newer version is available.

You can also update all apps that winget knows about:

winget upgrade --all

That command is more powerful. It updates every available package. Use it when you want a full app refresh. It is like giving your PC a quick software shower.

Check if Chrome is installed

Want to know if winget sees Chrome on your system? Use this command:

winget list --id Google.Chrome -e

If Chrome is installed, winget should show it in the list. You may see the name, ID, version, and source.

You can also search for Chrome in the winget catalog:

winget search Google.Chrome

Or you can search by name:

winget search Chrome

The search command is handy. But it may show several results. That is why the exact ID is better when installing.

Why use the exact ID?

Search results can be messy. Many apps have similar names. Some are tools. Some are extensions. Some are not what you want.

Using --id Google.Chrome -e tells winget, “I want this exact thing.”

That matters. It lowers mistakes. It keeps your command clear. It also makes scripts safer.

Compare these two commands:

winget install Chrome

This might work. But it depends on search matching.

winget install --id Google.Chrome -e

This is cleaner. It is the better choice.

What if winget is not found?

If you type winget and Windows says it is not recognized, do not panic. Your computer is not being dramatic. It just may not have winget installed or added correctly.

Try these fixes:

  • Open the Microsoft Store.
  • Search for App Installer.
  • Install it or update it.
  • Close and reopen Terminal.
  • Try winget --version.

If it works, you should see a version number. Nice. Your terminal now has snack powers.

Do you need admin rights?

Sometimes yes. Sometimes no.

Winget can install some apps without administrator rights. But many desktop apps may ask for permission. Chrome may trigger a User Account Control prompt, depending on your system and install type.

If something fails, try opening Terminal as administrator:

  1. Right click Windows Terminal.
  2. Choose Run as administrator.
  3. Run the command again.

Be careful with admin terminals. They have more power. More power is useful. It also deserves more attention.

Uninstall Chrome with winget

Need to remove Chrome? Winget can do that too.

winget uninstall --id Google.Chrome -e

This removes Google Chrome. Windows may ask for confirmation. Chrome may also leave some user data behind, like profiles or settings, depending on how it was installed and removed.

If you are only fixing a broken install, you may not need to uninstall first. Often, running an upgrade or reinstall command is enough.

A simple setup script idea

Winget is great when setting up a new computer. You can install Chrome and other favorite apps with a small list of commands.

For example:

winget install --id Google.Chrome -e
winget install --id Mozilla.Firefox -e
winget install --id Microsoft.VisualStudioCode -e
winget install --id 7zip.7zip -e

That is a nice little starter pack. Add your own tools. Save the commands in a text file. New PC setup becomes less painful.

You can also make a PowerShell script. But keep it simple at first. Test one command. Then add more. A good script is like soup. Add one ingredient at a time.

Common winget Chrome problems

Most of the time, the command works. But computers enjoy little mysteries. Here are a few common issues.

Problem: No package found

Try updating the winget sources:

winget source update

Then search again:

winget search Google.Chrome

Problem: Install fails

Try running Terminal as administrator. Also check your internet connection. Winget needs to download the installer.

Problem: Chrome is already installed

That is not a disaster. Use the upgrade command:

winget upgrade --id Google.Chrome -e

Problem: The command asks questions

That is normal. Winget may ask you to agree to terms. You can answer in the terminal. Or use agreement flags if you are scripting.

Best commands to remember

Here is your tiny winget Chrome cheat sheet:

  • Install Chrome:
    winget install --id Google.Chrome -e
  • Update Chrome:
    winget upgrade --id Google.Chrome -e
  • Search for Chrome:
    winget search Google.Chrome
  • Check installed Chrome:
    winget list --id Google.Chrome -e
  • Uninstall Chrome:
    winget uninstall --id Google.Chrome -e
  • Update all apps:
    winget upgrade --all

Is winget safe for installing Chrome?

Winget is generally safe when you use trusted sources and exact package IDs. The Google Chrome package points to the official Chrome installer. That is what you want.

Still, good habits matter. Check package names. Use exact IDs. Avoid random commands from strange places. Your terminal is powerful. Treat it like a tiny dragon. Friendly, but capable of fire.

When should you use winget for Chrome?

Use winget when you want speed. Use it when you are setting up a fresh Windows install. Use it when you manage several machines. Use it when you simply like clean commands.

You may prefer the normal Chrome website if you only install it once and never think about it again. That is fine too. There is no command line police. But once you try winget, it can be hard to go back.

Final thoughts

The best winget Chrome command is simple:

winget install --id Google.Chrome -e

And the best update command is just as simple:

winget upgrade --id Google.Chrome -e

With those two lines, you can install and update Google Chrome from the terminal. No browser hunt. No confusing buttons. No extra fuss.

Winget makes Windows feel faster and cleaner. It turns app installs into quick commands. And yes, it makes you look a bit like a tech wizard. A calm wizard. A practical wizard. A wizard who installs Chrome in one line and gets on with the day.