lazybuilder-cli
v0.2.0
Published
TUI + CLI for diagnosing .NET / MSBuild / C++ / CMake build environments and executing builds. Designed as a tool for AI dev loops (Claude Code, Cursor, …) and as a human-friendly TUI.
Maintainers
Readme
LazyBuilder - .NET / MSBuild / C++ Build TUI
Terminal UI for diagnosing build environments and executing builds without Visual Studio IDE.
Features
- Environment Detection: .NET SDK, MSBuild, Visual Studio, C++ Toolchain, Windows SDK (7/8.1/10/11), CMake, Ninja, Git
- Project Scanning: .sln, .csproj, .vcxproj, CMakeLists.txt auto-discovery with type classification
- Configuration Manager: Parses solution/project Configuration|Platform pairs for build target selection
- Build Execution: dotnet build, msbuild, cmake --build with real-time streaming output
- Diagnostics: Pre-build environment validation with actionable fix suggestions
- Log Viewer: Filtered log output with error/warning parsing and summary
- Auto Update: Checks npm registry (or git origin if cloned) on startup
- Cross-platform: Windows primary, Linux/macOS partial support
- AI-Tool Ready: Headless flags + JSON envelope contract — see
agent.mdanddocs/agents/on GitHub
Requirements
- Node.js >= 20.0.0
- Git (for auto-update feature)
- Terminal with Unicode support (Windows Terminal recommended)
Installation
Recommended (npm — global)
npm install -g lazybuilder-cli
lazybuilder # launch the TUIUpdate
lazybuilder --check-update # JSON: { updateAvailable, currentVersion, latestVersion, mode }
lazybuilder --update # auto-update (npm or git, depending on install mode)
# manual fallback:
npm install -g lazybuilder-cli@latestFrom source (Windows)
git clone https://github.com/rhkdguskim/lazybuilder.git
cd lazybuilder
install.batFrom source (Linux / macOS)
git clone https://github.com/rhkdguskim/lazybuilder.git
cd lazybuilder
./install.shManual from source
git clone https://github.com/rhkdguskim/lazybuilder.git
cd lazybuilder
npm install
npm run build
npm linkDevelopment (no install)
git clone https://github.com/rhkdguskim/lazybuilder.git
cd lazybuilder
npm install
npm run devUsage
Launch the TUI:
lazybuilderOn startup, the tool will:
- Check for updates from GitHub (prompts to update if available)
- Scan your build environment (.NET, MSBuild, C++, CMake, etc.)
- Scan the current directory for projects and solutions
- Run diagnostics to detect missing tools or configuration issues
Keyboard Shortcuts
| Key | Action |
|-----|--------|
| Ctrl+1~8 | Switch to tab directly |
| Ctrl+←→ | Previous/Next tab |
| ↑↓ | Navigate lists |
| ←→ | Change selection (Build tab) |
| Enter | Confirm / Execute build |
| Esc | Cancel build |
| Tab | Switch filter |
| f | Toggle log follow mode |
| q | Quit |
Tabs
| # | Tab | Description | |---|-----|-------------| | 1 | Overview | Build environment status at a glance | | 2 | Environment | Detailed tool/SDK info by category (.NET, MSBuild, VS, C++, Windows SDK, CMake, Packages) | | 3 | Projects | Scanned solutions and projects with metadata, TFM, recommended build command | | 4 | Build | Configuration manager with Configuration/Platform selection, command preview, execute | | 5 | Diagnostics | Environment issues with severity filtering and fix suggestions | | 6 | Logs | Real-time build log with error/warning filtering | | 7 | History | Past build results | | 8 | Settings | Application configuration |
Uninstall
npm unlink -g lazybuilderTech Stack
- Ink - React for CLI
- React 18 - UI components
- TypeScript - Type safety
- Zustand - State management
- fast-xml-parser - .csproj/.vcxproj parsing
- fast-glob - File discovery
- tree-kill - Process tree management
Project Structure
src/
├── domain/ # Types, enums, diagnostic rules
├── infrastructure/ # Process runner, detectors, parsers, adapters
├── application/ # Service orchestration
└── ui/ # React/Ink components, hooks, storeDocumentation
Agent integration guides and architecture docs live in the GitHub repo, not the npm tarball:
agent.md— entry point for AI agentsdocs/agents/quickstart.mddocs/agents/cli-reference.mddocs/agents/recipes.mddocs/agents/harness-integration.mddocs/agents/architecture.md
License
MIT
