Environment Variables
Variables read by kapsl
| Variable | Description |
|---|---|
KAPSL_CONFIG | Path to a custom kapsl.toml file |
CI | When set (any value), disables TTY — same as --non-interactive |
Examples
# Use a project-local config
KAPSL_CONFIG=./kapsl.toml kapsl python --version
# Explicit non-interactive mode (CI/CD)
CI=true kapsl python -c "print('ok')"Variables passed into containers
By default, no host environment variables are passed to containers. Configure pass-through in kapsl.toml:
[global]
pass_env = ["AWS_*", "GITHUB_TOKEN", "HTTP_PROXY"]
See Environment Variables in the Configuration section for details.