Windows CLI fails silently on fresh install due to missing Visual C++ Redistributable
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Windows 11
Kiro Version
2.9.0
Bug Description
Kiro CLI executable fails immediately after installation with exit code -1073741515 (0xC0000135 = STATUS_DLL_NOT_FOUND) on Windows systems without Visual C++ Redistributable installed. The failure is silent with no error message, making it difficult for users to diagnose.
The MSI installer completes successfully and adds the CLI path to user PATH, but the executable cannot run due to missing runtime dependencies.
Steps to Reproduce
- Install Kiro CLI 2.9.0 using the MSI installer (kiro-cli-x86_64-pc-windows-msvc.msi) on a clean Windows system without Visual C++ Redistributable
- Open PowerShell or CMD and run
kiro-cli --version - Observe that the command produces no output and exits immediately
- Check the exit code: it returns -1073741515 (0xC0000135), indicating STATUS_DLL_NOT_FOUND
Expected Behavior
One of the following should occur:
- MSI installer should bundle and install Visual C++ Redistributable as a dependency (preferred solution)
- Installer should check for VC++ Redistributable and display a clear error message if missing, with download link
- CLI executable should provide a meaningful error message indicating the missing dependency
- Installation documentation should clearly list VC++ Redistributable as a prerequisite
Conversation ID
No response
Additional Context
Installation Path: C:\Users\{username}\AppData\Local\Kiro-Cli\kiro-cli.exe
Workaround: Manual installation of Microsoft Visual C++ 2022 Redistributable resolves the issue: https://aka.ms/vs/17/release/vc_redist.x64.exe
Impact:
- Blocks first-time CLI usage on clean Windows installations
- Silent failure makes diagnosis extremely difficult for non-technical users
- Poor first-run experience for new users
- PATH is correctly configured but executable cannot run
Technical Details:
- Exit code: -1073741515 (hex: 0xC0000135)
- Windows error: STATUS_DLL_NOT_FOUND
- File size: 536 MB (562748088 bytes)
- Digital signature: Valid
- Missing dependency: Microsoft Visual C++ Runtime libraries
Suggested Priority: High - this is a blocking issue for Windows users without dev tools installed
Thanks for opening this issue and providing such a thorough write-up! The silent failure due to a missing Visual C++ Redistributable on fresh Windows installs is definitely something we want to address, especially since it impacts the first-run experience for new users. A maintainer will review this shortly — and in the meantime, thanks for including the workaround to help others who might hit the same problem! 🙌
Thanks for the detailed write-up. This is a valid packaging issue — the MSI installer should either bundle the VC++ Redistributable or at minimum check for it and provide a clear error message.
We'll look into adding the VC++ runtime as a prerequisite check or bundling it in the installer. In the meantime, installing the Visual C++ Redistributable manually should resolve the issue.