Skip to main content
Complete reference for the Rubix CLI. Top-level commands are what you run from the shell. Slash commands are what you run inside the chat UI.

Top-level commands

Launch the interactive chat UI. Equivalent to rubix chat with no options.
Start interactive chat, optionally resuming a session or pre-sending a prompt.
OptionsExamples
Authenticate with the device-code flow. Opens a browser URL for you to paste a short code and approve.
Credentials persist at ~/.rubix/auth.json.
Clear local authentication. The next rubix run prompts for device-code login again.
List your past chat sessions. Shows id, title, associated agent, and last update time.
Use the id with rubix chat --session-id <id> to resume.
Manage the AI model used for chat.
Subcommands

Slash commands

Available inside the chat UI. Type / to open the menu, or type any command directly.

Flags and environment variables

Print the installed CLI version and exit.
Print help for any command.
Override the stored token for this invocation. Useful for CI or ephemeral runners. When set, the CLI skips the device-code prompt.
Pin the environment for this invocation. Overrides any session default.

Where to go next

Examples

Concrete flows that combine the commands above.

Configuration

Where credentials live and how folder trust works.