Configuration

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

Config file location

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

You can override the path with the BOKS_CONFIG environment variable:

BOKS_CONFIG=/path/to/boks.toml boks python --version

Minimal example

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

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

What's in this section

Pages in this section