If you only open some developer tools occasionally, you’ve seen this:
Open the tool → giant update → wait before you can work.
This happens because Windows does not centrally update developer software. Many tools ship their own updaters, and they only run when you launch the application.
Windows already has the solution: winget, the built-in package manager. With a small amount of setup, your machine can update itself automatically.
This guide shows the minimal setup.
1. Automatically Update Winget Apps at Boot
Create a small PowerShell script that upgrades all winget packages.
Create a file:
C:\Scripts\winget-upgrade.ps1
Contents:
winget upgrade --all --silent --accept-package-agreements --accept-source-agreements
Now create a scheduled task that runs it whenever the machine starts.
Run PowerShell as Administrator:
schtasks /create /tn "Winget Upgrade On Boot" /sc onstart /ru SYSTEM /tr "powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\Scripts\winget-upgrade.ps1"
What this does:
- runs every time the machine boots
- updates all winget-managed software
- runs silently
- requires no login
- requires no maintenance
Reboot = updated machine.
2. Update Winget Itself
Winget is distributed through App Installer. If it gets stale, installs and upgrades can fail.
Run once:
winget upgrade Microsoft.AppInstaller
This keeps the package manager itself current.
3. Start Installing Software with Winget
From now on, check winget before downloading installers.
Search for software:
winget search <app>
Examples:
winget search vscode
winget search docker
winget search antigravity
winget search git
If it exists, install it with:
winget install <package-id>
Example:
winget install Microsoft.VisualStudioCode
Rule:
Check winget before visiting a download page.
You can also browse packages at:
4. See What Winget Already Manages
List installed packages:
winget list
Check pending upgrades:
winget upgrade
Result
After this setup:
- IDEs update automatically
- CLIs stay current
- SDKs remain compatible
- security updates apply quietly
Your Windows development machine becomes self-maintaining instead of manually maintained.
Leave a Reply