A collection of post-install scripts for Windows using winget
to install common applications and set up my environment. Feel free to use or modify it for your own needs.
- Windows 10 or later
- winget* (use the
msixbundle
installer for the latest version)
*) winget is included with Windows 11, but you can also install it manually if needed.
-
Clone this repository to your local machine or download the ZIP file and extract it.
-
Open a PowerShell terminal with administrative privileges.
-
Navigate to the directory where you cloned or extracted the repository.
cd C:\path\to\winget-install
-
Run the following command to execute the PowerShell script:
powershell -ExecutionPolicy Bypass -File .\Setup.ps1
-
Wait** :)
**) You may need to accept some UAC pop-ups on certain installation processes.
By default, this post-installer will set up a system with my preferred applications. You can modify the Install.*
and Packages.*
script to add or remove applications as needed. Here is a selection of the applications included:
- 7-Zip - File archiver with a high compression ratio.
- Discord - VoIP, instant messaging and digital distribution platform.
- HWMonitor - Hardware monitoring and diagnostic tool.
- Google Chrome - Web browser developed by Google.
- Google Drive - File storage and synchronization service.
- PowerToys - Set of utilities for power users to tune and streamline their Windows experience.
- Smartmon - Smart monitoring tool for hard drives and SSDs.
- Spotify - Digital music service that gives you access to millions of songs.
- Git - Free and open source distributed version control system.
- Python 3 - High-level programming language for general-purpose programming.
- Visual Studio Code - Source-code editor developed by Microsoft.
- Epic Games Launcher - Digital distribution platform for video games.
- Steam - Digital distribution platform for video games.
- Dark mode selected
- Classic context menu enabled
- Copy gitconfig to
%USERPROFILE%
- Additional tweaks applied (show hidden files, etc.)
Earlier versions of this script combined Batch and PowerShell to maximize compatibility with older Windows releases.
The installer has now been fully rewritten in PowerShell to leverage its advanced capabilities and deliver a more reliable, consistent experience on modern Windows versions.
If you still need the old implementation, you can find it in the legacy branch or the legacy release.
This project is licensed under the MIT License. See the LICENSE file for details.