CLI Reference

The crush command offers non-interactive and day-to-day operations beyond the TUI.

Crush is a TUI first, but the crush command has a few tricks for non-interactive use and day-to-day operations.

crush

Run Crush in the current directory. Useful flags:

FlagDescription
--yoloSkip all permission prompts. Be very, very careful.
--debugEnable debug logging
--cwd <path>Set the working directory (also keys the shared workspace)

crush serve

Run Crush as a shared backend that multiple clients can attach to. See Sessions & Workspaces for how clients group into workspaces.

crush logs

Print or follow Crush's logs:

# Print the last 1000 linescrush logs # Print the last 500 linescrush logs --tail 500 # Follow logs in real timecrush logs --follow

crush models

List available models, in the same <provider>/<id> form used by the configuration commands.

crush update-providers

Update the provider and model catalog from Catwalk:

crush update-providers              # from Catwalkcrush update-providers https://…    # from a custom URLcrush update-providers embedded     # reset to the built-in catalog

More

Run crush --help (or any subcommand with --help) for the full list of commands and flags.

Read this post in your terminal with glow:glow -p https://crush.charm.land/reference/cli.md

EOF