Skip to content

klim check

Check that all tools required by the project’s .klim.yaml are installed and meet version constraints.

Terminal window
klim check [flags]
FlagShortDescription
--file-fPath to .klim.yaml (default: auto-detect)
--jsonMachine-readable JSON output
--refreshForce fresh scan, ignoring cache
CodeMeaning
0All requirements satisfied
1One or more tools missing or outdated
Terminal window
# Auto-find .klim.yaml in current/parent directories
klim check
# Specify explicit path
klim check --file path/to/.klim.yaml
# Machine-readable output for CI
klim check --json
✓ 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: 1
# GitHub Actions
- name: Verify developer tools
run: |
curl -fsSL https://raw.githubusercontent.com/nassiharel/klim/main/install.sh | bash
klim check --json