Skip to content
docsmuxd config

command · configuration

muxd config

Show or change the server URL and the API token.

usage
muxd config <set-server <url> | set-token [token] | clear-token | show>

set-server validates the URL against the server's /status endpoint before saving it. set-token saves the API token used by muxd push; without an argument it reads the token from stdin, so it stays out of your shell history.

Settings live in config.json in your OS config directory. The environment wins over the file: MUXD_SERVER_URL (or MUXD_API_BASE) and MUXD_API_TOKEN (or MUXD_TOKEN).

Examples

$ muxd config set-server https://muxd.example.com
$ muxd config set-token

Paste the token from your dashboard when prompted.

$ muxd config show
$ muxd config clear-token

See also

muxd pushmuxd pull