Re-deploy apps on your workstation with ease

Use automation and winget to redeploy your workstation or dev machine while drinking coffee

Share on:  
                 

Introduction

With the release of version 1.5 of Winget we can finally add multiple app names in one install/uninstall command. Now we dont need to create powershell scripts to run the winget command multiple times for each action and app again.

alt text

Implementation

If youre running Windows 11 you already have winget installed, on Windows 10 you can get it via store.

You can verify installation via winget -v for version and winget –info for generic information.

alt text

With the command winget list you can have a look which apps are already installed, especially when you want to export this list to use it later.

alt text

So in my case I’ve created a winget install list for a default application list after re-installing windows which you can find here.

Alongside the usual unwanted Game launchers you can add everything you will need, even hardware related software. And even tho it looks weird that I added OneDrive here in the list, imagine you installing not the freshest version of Windows and need to sync 50 gigs of files from OneDrive, there is a huge benefit to have the newest (and best perfoming version) already installed before starting to sync. This decouples you from waiting for Windows Update / Store Updates and immediately have latest version in place.

Microsoft.PowerToys 
Microsoft.AzureStorageExplorer 
Microsoft.VisualStudioCode 
Microsoft.PowerShell 
Microsoft.WindowsTerminal 
Microsoft.AzureCLI Microsoft.Edge 
Microsoft.OneDrive

Curl.Curl 
Spotify.Spotify 
JGraph.Draw 
Prusa3D.PrusaSlicer 
WinDirStat.WinDirStat 
WinSCP.WinSCP 
Python.Python.3.9 
7zip.7zip 
Elgato.StreamDeck 
REALiX.HWiNFO 
Rufus.Rufus 
VideoLAN.VLC 
Obsidian.Obsidian 
Valve.Steam 
Ubisoft.Connect 
Wargaming.GameCenter 
aquasuite5 
Discord.Discord 

If you have an even longer list of extensions for your VSC extensions, you unfortunately need to run these commands multiple times for every extension :-(

code --install-extension rusnasonov.vscode-hugo 
code --install-extension fivethree.vscode-hugo-snippets
code --install-extension eamodio.gitlens
code --install-extension rangav.vscode-thunder-client

Conclusion

Winget and OneDrive makes it super easy to prepare a machine after reinstallation of Windows.

Find more information and a learning path here.

comments powered by Disqus