Limai Docs
CLI Reference

config

Manage CLI configuration values

$limai config <subcommand>

Read and write CLI configuration stored at ~/.limai/config.json.

Options
--jsonOutput raw JSON
--verboseEnable debug logging

Configuration Keys

KeyDescription
apiUrlAPI base URL
tokenAPI authentication token
sseUrlServer-sent events URL (for limai watch)
defaultProjectIdProject ID, stored for your own reference
defaultDeploymentIdModel ID, stored for your own reference

Subcommands

defaultProjectId and defaultDeploymentId are stored and read back, but no command uses them as a default — pass the ID explicitly.

limai config list

Show all configuration values. The token is masked unless --reveal is passed.

$limai config list

Show all configuration values.

Options
--revealPrint secret values in full instead of masking them

limai config get <key>

Get a single configuration value. Secrets are masked unless --reveal is passed.

$limai config get <key>

Get a single configuration value.

Options
--revealPrint the real value instead of a masked one

limai config set <key> <value>

Set a configuration value. Only the keys listed above are accepted.

limai config set <key> <value>

Examples

Set the default project

limai config set defaultProjectId proj_abc123

View the current API URL

limai config get apiUrl

List all config as JSON

limai config list --json

Configure the SSE URL for event watching

limai config set sseUrl wss://ws.limai.io

On this page