Command Line Interface
Runicorn ships with a CLI for starting the viewer, managing storage, exporting data, and handling run cleanup.
Need the exact current flags?
See CLI Reference. This overview focuses on common workflows.
Install
Main Commands
| Command | What it is for |
|---|---|
viewer | Start the local web viewer and API |
config | Inspect or change the default storage root |
export | Export one or more runs into an archive |
import | Import a .zip or .tar.gz archive |
export-data | Export run metrics as CSV, Excel, Markdown, or HTML |
manage | Tag, search, delete, or clean up experiments |
rate-limit | Inspect and change API rate-limit settings |
delete | Permanently delete runs and orphaned assets |
Common Workflows
Start the Viewer
Open http://127.0.0.1:23300.
Use a custom bind address only when you really need it:
Set a Default Storage Root
Storage resolution order:
rn.init(storage=...)RUNICORN_DIRrunicorn config --set-user-root ..../.runicorn
Export and Import Runs
runicorn export --project cv --out exports/cv_runs.tar.gz
runicorn import --archive exports/cv_runs.tar.gz
Export Metrics for Reports
runicorn export-data --run-id 20260115_100000_abc123 --format csv
runicorn export-data --run-id 20260115_100000_abc123 --format html --output report.html
Clean Up Old or Unwanted Runs
Preview first:
runicorn manage --action cleanup --days 30 --dry-run
runicorn delete --run-id 20260115_100000_abc123 --dry-run
Then execute:
Environment Variables
| Variable | Purpose |
|---|---|
RUNICORN_DIR | Override the default storage root |
RUNICORN_DISABLE_MODERN_STORAGE | Disable the SQLite-backed storage path |
RUNICORN_IDLE_TIMEOUT | Remote-mode viewer idle shutdown timeout |
Example:
Troubleshooting
Command Not Found
Port Already in Use
Need the Exact Option List?
Use either:
- CLI Reference
runicorn <command> --help