r/windowsdev • u/Abiriadev • Aug 09 '25
reproducible, manageable personal windows dev environment
How do you manage your Windows environment? including every apps or tools, WSL, sometimes configs as well?
NixOS seems promising but it doesn't work on Windows of course.
Writing a powershell script to automate dozens of winget ... install scripts and copy dotfiles might be the most naive solution that came to my mind.
I'm about to find much more modern solution for this, but have no idea as of now.
*This is not about the CI environment like Windows containers. Mostly for my personal Windows environment.
3
Upvotes
2
u/jd31068 Aug 09 '25
I poked around looking at winget to export a JSON file on the old PC and then using that JSON file on the new PC to have winget download and install the same software. Also Ninite & Winstall, but no user data.
I came across this https://www.easeus.com/pc-transfer/copy-installed-software.html?srsltid=AfmBOor1Rh0m3ogI5d2OvT-3AldZSiTxfoJj9D2V9fqYyCtZQS550JeR which looks like it allows you to copy even user data. I haven't used this tool but I have used a few of their tools in the past with success.
What I've done in the past is after manually setting up a new PC, I used Macrium Reflect to create an image file and I would use that file to just restore it to the new PC, not great as the drivers need to be removed and installed for the different hardware.
2
u/GloWondub Aug 09 '25 edited Aug 09 '25
I'm a C++ Linux dev that works on a cross platform software (using CMake) so I have the leanest Windows env possible:
I then do everything from git bash and Native x64 command line except debugging, which is the only reason I would ever run visual studio.
I know, its not typical, but I've been doing that for ten years and the various change to Windows never amounted to much and did not change my workflow.
I can have my dev env ready in less than an hour (looking at you visual studio) from a fresh Windows install.
I do not use vcpkg because I'd rather handle dependencies myself but I have a colleague that have integrated vcpkg in a similar workflow and it works well most of the time.
1
u/arthurno1 Aug 09 '25
Msys2 + pacman works fine for me.