rime config subcommands manage ~/.rime/rime.toml, the TOML file that holds your API key and named environments.
rime config init
Create a new config file. In a terminal, the command prompts for an API key. You can press Enter to skip it and add the key later.
The generated file defines two environments and makes
users the default:
api_key. To use a model host such as https://coda.api.rime.ai/, add it as an environment with rime config add.
Older config files without
default_env continue to work: the top-level api_url and api_key fields are still respected as the fallback default.rime config list
List all configured environments. The currently active default environment is marked with a * in the NAME column.
rime config default
Get or set the default environment.
default_env in ~/.rime/rime.toml and confirms:
rime config show
Show the fully resolved configuration for a given environment, including where the API key comes from (config file vs. environment variable).
Example output:
rime config add
Add a named environment to ~/.rime/rime.toml. Prompts interactively for API URL, API key (input hidden), and an optional auth prefix. You cannot add an environment named default. Use rime config default to change which environment is the default.
Examples:
coda.api.rime.ai or mist.api.rime.ai, serves one model and routes each request to the nearest Rime region. The host picks the model, so pass the matching --model-id to rime tts.
rime config rm
Remove a named environment from ~/.rime/rime.toml. Prompts for confirmation unless --yes is passed.
rime config edit
Open ~/.rime/rime.toml in your default editor ($VISUAL or $EDITOR, falling back to nano or vi).
rime config init first if needed.
