Portable Microsoft Visual C++ Compiler extracted from the Visual Studio Installer, including Windows SDK headers and libraries.
| VC | Windows SDK | Visual Studio | Size | Packing Date |
|---|---|---|---|---|
| v14.51.36231 | v10.0.28000 | Visual Studio 2026 | 145 MB | 2026/08/07 |
| v14.50.35717 | v10.0.26100 | Visual Studio 2026 | 142 MB | 2026/01/17 |
| v14.40.33807 | v10.0.26100 | Visual Studio 2022 | 131 MB | 2024/07/19 |
| v14.39.33519 | v10.0.22621 | Visual Studio 2022 | 103 MB | 2024/05/10 |
Download from Releases.
:: Set environment variables, or setup_x86.bat
setup_x64.bat
:: Run compiler
cl.exeCreate new profile and set command line:
%SystemRoot%\System32\cmd.exe /K setup_x64.bat
You can using MSVC-Portable.bat to download latest version from Microsoft.
Thanks to @mmozeiko