A Python script that automatically installs and updates your favorite programs on Windows using winget and pip.
- Installs system applications via winget
- Installs Python packages via pip
- Auto-updates packages that are already installed
- Prints a clean summary at the end with totals for installed, updated, unchanged, and failed items
- Windows 10 / 11
- Python 3.10 or higher
- winget (pre-installed on Windows 11, available for Windows 10 via the Microsoft Store)
-
Clone or download this repository.
-
Edit the lists at the top of
installl.py:
# System apps installed via winget
WINGET_APPS = [
"Google.Chrome",
"Git.Git",
# Add more here...
]
# Python packages installed via pip
PIP_PACKAGES = [
"requests",
"pandas",
# Add more here...
]- Run the script from PowerShell or CMD as Administrator:
python install.py| Type | Where to find the ID | Example |
|---|---|---|
| winget apps | winget.run or run winget search <name> |
Mozilla.Firefox |
| pip packages | pypi.org | requests |
════════════════════════════════════════════════════════════
WINDOWS AUTO-INSTALLER
════════════════════════════════════════════════════════════
────────────────────────────────────────────────────────────
System apps (winget)
────────────────────────────────────────────────────────────
⏳ Processing Google.Chrome...
Google.Chrome — Installed
⏳ Processing Git.Git...
↑ Git.Git — Updated
⏳ Processing 7zip.7zip...
• 7zip.7zip — Already on the latest version
────────────────────────────────────────────────────────────
Python packages (pip)
────────────────────────────────────────────────────────────
⏳ Processing requests...
• requests — Already on the latest version
⏳ Processing pandas...
pandas — Installed
────────────────────────────────────────────────────────────
Summary
────────────────────────────────────────────────────────────
Total processed : 5
Installed : 2
↑ Updated : 1
• Unchanged : 2
⊘ Skipped : 0
Errors : 0| Status | Meaning |
|---|---|
| Installed | The package was not present and was installed successfully |
| ↑ Updated | The package was already installed and was upgraded to a newer version |
| • Unchanged | The package is already at the latest version, nothing to do |
| ⊘ Skipped | The required tool (winget) was not found, so the item was skipped |
| Error | Something went wrong during installation |
MIT — free to use, modify, and distribute.