How-toSoftware Installation
How to install software with winget and the Microsoft Store
Use the Microsoft Store or winget on the command line to install and update apps, rather than searching for download pages on the web.
- Windows 11
- Windows 10
Two ways to install and update programs on Windows skip the search for a download page on the web: the Microsoft Store, which is point-and-click, and winget, a typed command that Windows includes.
Windows 10 no longer receives security updates
Support for Windows 10 ended on October 14, 2025. Both tools below still work on it, but keep sensitive tasks such as banking off an unsupported system and plan to move on. See what to do about Windows 10 end of support.
Which route to use
Both routes install from a central catalog, so you do not have to find the right website yourself. That avoids look-alike download sites. For the wider rules on safe downloads, see how to install software safely and how to avoid fake download and driver sites.
| Question | Microsoft Store | winget |
|---|---|---|
| How you use it | Click buttons in an app | Type commands in a terminal window |
| What it offers | Apps and games published through the Store | Many desktop programs from the winget catalog, and Store apps through a separate source |
| Needs an account | You may be asked to sign in with a Microsoft account | No |
| Good for | Occasional installs | Updating many programs at once, or setting up a PC |
Install an app from the Microsoft Store
- Select Start, then select Microsoft Store. You can also type Microsoft Store in the taskbar search box.
- Type the app's name in the search box at the top of the Store window, or browse Apps and Gaming.
- Select the app. Check the publisher's name on its page. It should be the company you expect.
- Select the install button (it reads Get or Install). Sign in with your Microsoft account if asked.
- Wait for the download. The button changes when it finishes, and the app appears in the Start menu.
Keep Store apps up to date
Open the Store and look for updates. In Windows 11, select Library, then select Get updates. In Windows 10, select See more, then Downloads and updates, then Get updates.
If the Store will not download
Microsoft's steps for Store problems, in order: sign in to your Microsoft account; close the app and reopen it; run Check for updates in Windows Update and install anything offered; then update the Store apps as above. If the problem is one app, repair or reset it under . On a work or school PC, an administrator may restrict the Store.
Install an app with winget
winget is the Windows Package Manager. It comes with the App Installer component, which is part of Windows 11 and recent Windows 10. Microsoft says it needs Windows 10 version 1809 or later.
Text version of this diagram
- Search: Find the program's exact ID
- Install: Install that ID and read the prompts
- List: See what winget thinks is installed
- Upgrade: Check for updates, then apply them
Open a terminal
- On Windows 11, right-click Start and select Terminal. On Windows 10, type Command Prompt in the taskbar search box and open it.
- Open it as a normal user, not as administrator. Microsoft says some installers will ask for permission themselves when they need it, and that you should use caution with an administrator window.
Search, then install
- Type this command and press Enter. Replace the name with the program you want. This example looks for PowerToys, a Microsoft utility.
winget search powertoys - Read the results. Note the Id column. For the Microsoft example, the ID is
Microsoft.PowerToys. Make sure the ID and publisher are what you expect. - Install by ID. The
-eoption means an exact match, so winget does not pick a similar name.winget install --id Microsoft.PowerToys -e - If winget asks you to agree to terms for the source or the package, read them. If you agree, follow the prompt. If you do not agree, the program will not install.
- If Windows shows a permission prompt (User Account Control), check that the program name matches, then select Yes.
When it finishes, the program is installed and appears in the Start menu. Most programs install in a minute or two.
Check the ID before you install
The winget catalog is a community repository, so look at the ID and publisher in the search results. Use a name you have verified. Never paste an install command from a pop-up, a message or a stranger.
Update and remove programs
- To see which programs have updates, type this and press Enter.
winget upgrade - To update one program, use its ID from the list.
winget upgrade --id Microsoft.PowerToys - To update everything on the list, use
winget upgrade --all. Microsoft advises runningwinget upgradealone first so you can preview what will change. - To remove a program, use its ID.
winget uninstall --id Microsoft.PowerToys
winget can also install from the Store catalog. Add -s msstore to a command, and use the Store ID shown in the search results. Other ways to remove programs are in how to uninstall programs.
If something goes wrong
Text version of this diagram
- Step 1: Close the terminal, open a new one
- Question 2: Does winget run now? If yes: You are done. If no, go on to the next item.
- Step 3: Restart the PC and sign in to Windows
- Question 4: Does winget run now? If yes: You are done. If no, go on to the next item.
- Step 5: Update App Installer in the Microsoft Store
- If nothing worked: Still failing? See Microsoft's winget troubleshooting page.
- "winget is not recognized". Microsoft says winget is not available until you have signed in to Windows for the first time and the Store has registered it. Sign in, wait a few minutes, restart, or update App Installer in the Store.
- An install fails or stalls. Try the Store route or the publisher's official site. See app won't install or run.
- Windows shows a "Windows protected your PC" warning for something you downloaded outside these tools: see what the SmartScreen warning means.
Frequently asked questions
Do I need to use the command line?
No. The Microsoft Store does the same job with buttons, and the publisher's own website is another valid route. Use winget only if you want it.
Is winget made by Microsoft?
Yes. Microsoft publishes the tool and documents it on Microsoft Learn. The catalog of programs it installs from is a community repository, so check each ID before installing.
Is it safe to run winget upgrade --all?
It is a normal command, but it may update more than you expect. Run winget upgrade by itself first to see the list, then decide.
Do Store apps still need a Microsoft account?
You may be asked to sign in. Microsoft's Store troubleshooting steps begin with signing in to your Microsoft account, so have it ready.
Was this guide helpful?
Thank you for your rating.
Ratings are not available right now. You can still use the contact page to tell us what you think.
Rating this guide needs JavaScript. You can send feedback on the contact page instead.
Official resources used
Pages consulted while preparing this guide. Check them for the latest details.
Need more help?
If this guide did not solve your problem, send us a message and tell us what you tried.
Beware of fake support
Real support never asks you to call an unfamiliar number, pay with gift cards or let a stranger control your computer.