Standard Ebooks

Install Winget Using Powershell Updated Upd

Installing WinGet (Windows Package Manager) has become significantly easier in modern versions of Windows 10 and 11 because it is now included by default. However, if you are on an older build, have a corrupted installation, or are using Windows Server, you may need to install it manually.

  1. Run PowerShell as Administrator – Winget installation affects system-level components. Right-click PowerShell and select “Run as administrator,” or use Start-Process PowerShell -Verb RunAs.
  2. Set Execution Policy – To run scripts from the internet, you may need to temporarily allow script execution:
    Set-ExecutionPolicy RemoteSigned -Scope Process -Force
    
  3. Check Existing Winget Version – First, verify if Winget is already present:
    winget --version
    
    If this returns a version number, your goal may be updating rather than installing.

Quick summary

Step 4: Update Winget via Its Own Command (Limited Cases)

Starting with Winget 1.5 and later, Microsoft introduced a winget upgrade command that sometimes can upgrade the package manager itself: install winget using powershell updated

✅ This method keeps winget auto-updatable via Windows Update. Check Existing Winget Version – First, verify if

Troubleshooting Dependencies (Important!)

If you get a red error saying dependencies are missing (common on Windows Server or stripped-down Windows 10 builds), you need to install the dependencies first. If this returns a version number

Method 2: The Direct Download (If Method 1 fails)

If the command above fails (usually due to network restrictions or Store cache issues), you can download the latest .msixbundle directly from Microsoft's GitHub repository.