Monito CLI

monito config

Inspect Monito CLI configuration, print the config file path, and set the API host with the config path, get, and set commands.

config path

Print the config file path.

monito config path

Output example: /home/user/.config/monito/config.json

config get

Get a config value.

monito config get host
monito config get user
monito config get token

For object values (like user), outputs JSON. For string values, outputs the raw string.

config set

Set a config value. Currently only host is settable.

monito config set host https://your-instance.example.com

Other keys will be rejected with an error message listing the settable keys.

On this page