Skip to content

Windows

File Location
Config %APPDATA%\btmux\config.toml
Access token %LOCALAPPDATA%\btmux\state.token
Saved state %LOCALAPPDATA%\btmux\state.json

Panes run powershell.exe by default. Set shell in config.toml to another command line:

shell = "pwsh"
# shell = "cmd.exe"
# shell = 'C:\Program Files\Git\bin\bash.exe' # Git Bash
# shell = "wsl.exe -d Ubuntu"

Under bash, btmux tracks the pane’s directory with PROMPT_COMMAND and PS0. If your bashrc replaces them, emit OSC 7 and OSC 133 A/C marks yourself.

  • No background service: btmux install exits with an error. Run btmux in a terminal, or use the desktop app.
  • No in-place upgrade. To update, quit btmux and the desktop app, replace btmux.exe or run the new installer, and start it again. Running shells end; sessions, windows, and pane directories are restored.
  • No VS Code, browser, or sandboxed sessions.
  • The process viewer doesn’t count programs in Git Bash and WSL panes.