Skip to main content

rime login

Opens your browser to the Rime dashboard for OAuth-based authentication, then saves your API key to ~/.rime/rime.toml. The CLI starts a local callback server to receive the key from the dashboard.
Terminal output of rime login: the Rime logo, then the browser sign-in and a success message No flags. The CLI checks the key before saving it and doesn’t save a key the API rejects as invalid. If the check fails for another reason, such as a network error, the CLI saves the key anyway and prints a warning, so run rime hello to confirm it works.

rime logout

Remove your saved API key by deleting the config file at ~/.rime/rime.toml. Deleting the file also removes any named environments you added, so run rime config init or rime login to set up again.
No flags.

rime key

Print the resolved API key (no trailing newline). Useful in shell scripts and as a subexpression. For example, rime curl uses $(rime key) in its generated commands.
No flags. Resolves the key from config or RIME_CLI_API_KEY, using the active environment. If no key resolves, it prints nothing, and a command that uses $(rime key) sends an empty key. Run rime config show to see where the key comes from.