The scripts in this gist automate installing all the nessesary (and some unnessesary) software for my Windows development environment workload.
- Download
winget.ps1
andvisualstudio2022.vsconfig
- Review
winget.ps1
and comment out or remove any software packages you do not want or are not licensed for - From an Administrator PowerShell console run
.\winget.ps1
Note: SQL server installer will indicate failure as a restart is required in order to complete the installation.
- Wait for the script to complete running. You may have to respond to a prompt for a few of the packages.
- If you want to install Spotify, from a regular non-Administrator PowerShell console run
winget install -e --id Spotify.Spotify
. - Restart your computer.
- Open up the Visual Studio Installer.
- On your Visual Studio installation select "More" -> "Import Configuration". Navigate to and select the
visualstudio2022.vsconfig
you downloaded. Click "Review Details". - Complete the Visual Studio Installer dialogs.
Note: Some Visual Studio modules/ids might not be found. Those are either deprecated or installed as dependencies.