Configuration

kapsl works without any configuration file. When you need to override defaults — custom tool mappings, SSH agent forwarding, pass-through environment variables — create a kapsl.toml file.

Config file location

PlatformPath
Linux / macOS~/.config/kapsl/kapsl.toml

You can override the path with the KAPSL_CONFIG environment variable:

KAPSL_CONFIG=/path/to/kapsl.toml kapsl python --version

Minimal example

[tools]
rg = "kapsl.sh/rg:latest"

[global]
pass_env = ["GITHUB_TOKEN", "AWS_*"]
forward_ssh_agent = true

What's in this section

Pages in this section