Installing VS Compilers From Commandline
The msvcup tool replaces the entire Visual Studio installation process for command-line compilation. Instead of downloading 15GB and navigating a maze of checkboxes, a small CLI parses Microsoft's official component manifests and downloads only the compiler and SDK -- directly, reproducibly, and in minutes.
Key Quotes
"It's a small CLI program. On good network/hardware, it can install the toolchain/SDK in a few minutes."
Key Themes
The article starts from a real frustration: Windows native development conflates the editor, compiler, and SDK into the Visual Studio monolith. You can't version-control your compiler. You can't cleanly uninstall it. CI systems need to pre-install the whole thing. The author's answer is msvcup, which:
- Parses Microsoft's official JSON component manifests
- Downloads only the essential packages from Microsoft's CDN
- Installs into versioned, isolated directories
- Runs idempotently with millisecond execution times after initial setup
This was integrated at Tuple (the pair-programming app), eliminating the "install Visual Studio first" prerequisite and enabling consistent builds across architectures and CI systems.
The broader point: build tools should be explicit, reproducible, and version-controlled. The Unix world solved this with package managers decades ago. Windows is catching up, but msvcup may arrive there faster than Microsoft's own tooling.
Critical Analysis
This is a practical tool solving a real problem. The approach of parsing Microsoft's own manifest files (rather than scraping or reverse-engineering) is sound and maintainable. The main risk is that Microsoft changes the manifest format or CDN structure, which they've done before. The article's tone is frustrated-but-constructive, which resonates with anyone who's spent an afternoon wrestling with Visual Studio installation. For CI/CD pipelines and reproducible builds, this is a clear win. For day-to-day development where you want the IDE, Visual Studio is still the path of least resistance.
Sources: Installing VS Compilers From Commandline Last updated: 2026-05-14