klim check
Check that all tools required by the project’s .klim.yaml are installed and meet version constraints.
klim check [flags]| Flag | Short | Description |
|---|---|---|
--file | -f | Path to .klim.yaml (default: auto-detect) |
--json | Machine-readable JSON output | |
--refresh | Force fresh scan, ignoring cache |
Exit Codes
Section titled “Exit Codes”| Code | Meaning |
|---|---|
| 0 | All requirements satisfied |
| 1 | One or more tools missing or outdated |
Examples
Section titled “Examples”# Auto-find .klim.yaml in current/parent directoriesklim check
# Specify explicit pathklim check --file path/to/.klim.yaml
# Machine-readable output for CIklim check --jsonOutput
Section titled “Output”✓ node 22.11.0 (required: >=20.0.0)✗ docker not found (required: >=24.0.0)✓ kubectl 1.31.0✓ terraform 1.7.2 (required: >=1.5.0)
1 tool missing or outdated. Exit code: 1CI Usage
Section titled “CI Usage”# GitHub Actions- name: Verify developer tools run: | curl -fsSL https://raw.githubusercontent.com/nassiharel/klim/main/install.sh | bash klim check --jsonSee Also
Section titled “See Also”- Team Manifests guide — How to set up .klim.yaml