Quick Start
This guide walks through Klim’s core loop: map the tools on this machine, inspect what changed, encode project requirements, and use the same deterministic commands from a TUI, scripts, CI, or agents.
Launch the TUI
Section titled “Launch the TUI”Simply run klim with no arguments to launch the interactive terminal UI:
klimKlim will scan your $PATH to discover installed developer tools, then display them in an interactive environment map with version information, install sources, and update status.
What You’ll See
Section titled “What You’ll See”The TUI opens on the Installed tab showing all detected tools:
- ✓ — Tool is up to date
- ⬆ — An update is available (latest version shown on the right)
- ★ — Tool is favorited
- ⚠ policy / ✗ blocked — Compliance status from your active policy
Navigate the Tabs
Section titled “Navigate the Tabs”Use ←/→ arrow keys, Tab/Shift+Tab, or number keys 1–9 to switch tabs:
| Tab | Key | What it shows |
|---|---|---|
| Installed | 1 | All detected tools with versions |
| ★ Favorites | 2 | Your favorited tools |
| Updates | 3 | Tools with available upgrades |
| Marketplace | 4 | Browse 110+ tools from the marketplace |
| Backup | 5 | Export, import, and share your toolchain |
| Project | 6 | Multi-project .klim.yaml management |
| Dashboard | 7 | Stats and breakdowns |
| Config | 8 | Edit settings |
| Security | 9 | Health, audit, and compliance |
CLI Mode
Section titled “CLI Mode”For non-interactive usage in scripts, CI, or agent workflows, use subcommands directly:
-
List installed tools:
Terminal window klim tool list -
Inspect a single tool:
Terminal window klim tool info kubectl -
Export your toolchain:
Terminal window klim share export > my-tools.yaml -
Import on another machine:
Terminal window klim share import my-tools.yaml -
Capture your environment for later comparison:
Terminal window klim env trail capture --label before-upgrade -
Check for klim updates:
Terminal window klim update --check
Common Workflows
Section titled “Common Workflows”Favorite and Share Your Tools
Section titled “Favorite and Share Your Tools”- In the TUI, press * on any tool to favorite it
- Switch to the ★ Favorites tab (press 2)
- Press s to generate a share token
- Send the token to a colleague — they run
klim share link open <token>to install the same tools
Batch Upgrade
Section titled “Batch Upgrade”- Switch to the Updates tab (press 3)
- Press a to select all outdated tools
- Press u to upgrade them all at once
Create a Project Environment Contract
Section titled “Create a Project Environment Contract”- Export your toolchain:
klim share export > .klim.yaml - Commit
.klim.yamlto your repository - Team members and CI run:
klim project checkto verify the environment contract
Track Toolchain Changes Over Time
Section titled “Track Toolchain Changes Over Time”klim env trail is git-style history for your environment. Capture, diff, and roll forward across upgrades:
- Capture before risky changes:
klim env trail capture --label before-kubectl-upgrade - Make your changes (
brew upgrade kubectl, etc.) - Capture again:
klim env trail capture - See exactly what changed:
klim env trail diff before-kubectl-upgrade
Inspect a Single Tool
Section titled “Inspect a Single Tool”klim tool info <tool> is the CLI counterpart of the TUI’s tool detail page — every install location, every available package source, GitHub stats, project / pack references, and related installed tools:
klim tool info terraformklim tool info terraform --output json # for scriptsNext Steps
Section titled “Next Steps”- Learn about all TUI features
- Explore the CLI command reference
- Set up team manifests for your project