Command line
On this page
- Basic use
- Starting the service
- Cluster and license management
- Accounts and remote access
- Environment variables
Basic use
The command line comes with the Linux version; the Windows and macOS installers contain the desktop app only. After installing with .run, run it like this (the examples below just write raubot-lm):
sudo -u raubot env RLM_DATA=/var/lib/raubot-lm /opt/raubot-lm/raubot-lm --help
| Command | Does |
|---|---|
list | lists the models found |
download <name> [files…] | downloads from Hugging Face; without file names it lists them |
install [name] | one-click install; without a name it lists what there is |
serve | starts the service and web interface |
node [--pair] | runs as a headless compute-only node without Web UI (--pair prints a 10-minute pairing code) |
cluster <subcommand> | manages cluster role, pairing, workers and live status |
license <subcommand> | shows machine ID, imports offline .lic / RLM1., activates Team keys or clears a license |
Every command takes --models <folder> (use only this model folder) and --lang en|zh-TW|zh-CN|ja|ko|de|es|fr.
download also takes --kind llm|image|audio|video, --name <folder name> and --safetensors (the whole original model).
Starting the service
| Option | Default | Does |
|---|---|---|
--port | 3456 | port for the web page and API |
--prefill-budget | 512 | piece size for reading long texts, 0 turns it off; see Performance |
--no-draw | the chat model may not draw or make videos | |
--draw-model <name> | which model draws from a chat | |
--engine <path> | a llama-server to use (built with this project's changes) | |
--image-engine <path> | an sd-server to use | |
-- <args…> | passed on to llama-server |
raubot-lm serve --port 8000
raubot-lm serve -- -c 32768
Cluster and license management
Useful for headless servers and scripted deployments:
# Cluster (talks to a running local serve instance when available; accepts --port and --api-key)
raubot-lm cluster status
raubot-lm cluster role node
raubot-lm cluster code
raubot-lm cluster pair "rlm1:..." --name "gpu-01"
raubot-lm cluster participate off
raubot-lm cluster remove <node-id>
raubot-lm cluster unpair
# License
raubot-lm license status
raubot-lm license machine-id
raubot-lm license import enterprise.lic
raubot-lm license activate "<team-license-key>"
raubot-lm license clear
Accounts and remote access
See Accounts and remote access.
raubot-lm user list | add [--admin] | remove | password | role | grant | reset2fa
raubot-lm remote show | https <address|off> | proxy <hosts…>
raubot-lm ldap show | set … | off
For the audit record commands (raubot-lm records …) see Records.
Environment variables
| Variable | Does |
|---|---|
RLM_LANG | interface language |
RLM_DATA | puts data/, outputs/ and logs/ elsewhere |
RLM_HOME | root folder of the desktop app (for development) |
RLM_NODE_BIND | where a worker listens, 0.0.0.0:3457 by default |
RLM_BUILD_JOBS | parallel jobs when compiling engines |
If this page differs from the Traditional Chinese version, the Traditional Chinese version prevails.