When I set up a new development machine, I like to review all the dev tools I have installed on my current machine and decide which ones are worth keeping. Here's a couple of handy command line tools I found that helped me remember what I have installed, plus a few links to my favourite tools and extensions:

dotnet globally installed tools

dotnet tool list -g

I like dotnet-outdated and Tye

npm globally installed tools

npm list -g --depth=0

I usually have the Vue CLI, Azure Functions Core Tools and HTTP server installed

Visual Studio Code extensions

code --list-extensions

One notable lesser-known favourite to point out is the draw.io integration extension. This makes it super easy to have editable architecture diagrams that automatically appear as SVG or PNG files.

Windows apps

I usually just look at the list of apps in the Add/Remove Programs part of the control panel, but in case you want to automate it this PowerShell provides a fairly comprehensive list.

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName


Anyway, hope these command lines are useful, and feel free to share others with me in the comments, as well as what your favourite global tools and extensions are. I know some people go to much greater lengths to fully automate the setup of a new machine but I have always been slightly reluctant to do that, as many applications have installation options I like to be in control of.