Skip to content

klim proxy

Create lightweight shims that auto-install tools on first use. When you run a shimmed tool that isn’t installed, klim automatically installs it via the best available package manager, then runs it.

CommandDescription
klim proxy setupCreate the shims directory and show PATH instructions
klim proxy add <tool> [tool...]Create shims for one or more tools
klim proxy remove <tool> [tool...]Remove shims
klim proxy listList active shims
Terminal window
# Create the shims directory
klim proxy setup
# Add shims directory to your PATH (shown by setup)
export PATH="$HOME/.klim/shims:$PATH"
# Create shims for tools
klim proxy add kubectl terraform helm
  1. klim proxy add kubectl creates a lightweight shim script in ~/.klim/shims/
  2. When you run kubectl, the shim checks if the real kubectl is installed elsewhere in PATH
  3. If found → runs it directly
  4. If not found → installs via the best available package manager, then runs it
Terminal window
# Set up and create shims
klim proxy setup
klim proxy add kubectl terraform helm jq
# List active shims
klim proxy list
# Remove a shim
klim proxy remove kubectl