Environment Variables and File Locations
Most configuration goes through bots.json / the dashboard — you usually don't need env vars. Only a few machine-level switches (bind address / port / backend type / external host) live in ~/.botmux/.env. This page also lists botmux's key file locations for backup / troubleshooting.
Applies to: the dashboard / web terminal won't open or you need to change the bind address, pin a port, switch the pty/tmux backend, or find where config / logs / credentials live.
Environment variables (set in ~/.botmux/.env)
GITHUB_TOKEN/GH_TOKENmay be provided in the calling process environment or in~/.botmux/.envso both the daemon and the standalone Dashboard process can read them. botmux uses these tokens only for its own GitHub requests and strips them from default worker / agent inheritance. If a specific bot should receive a token explicitly, configure it in that bot's ownenv.
