swm setup
Subcommands
Section titled “Subcommands”| Command | Description |
|---|---|
setup list | List all available frameworks |
setup install <framework> <id> | Install a framework |
setup start <framework> <id> | Start a framework |
setup stop <framework> <id> | Stop a framework |
setup storage <id> | Configure storage credentials on pod |
setup workspace <id> | Attach an object-storage workspace to an existing pod |
Examples
Section titled “Examples”swm setup listswm setup install vllm runpod:abc123swm setup start vllm runpod:abc123 --port 8000swm setup stop vllm runpod:abc123swm setup storage runpod:abc123 -p b2swm setup workspace runpod:abc123 # ws name = pod nameswm setup workspace runpod:abc123 -n my-ws # custom nameAvailable frameworks
Section titled “Available frameworks”vLLM, Open WebUI, Ollama, ComfyUI, SwarmUI, Axolotl, H2O LLM Studio.
See Frameworks for details.
setup workspace
Section titled “setup workspace”Attach an object-storage workspace to a pod that doesn’t have one — in one command. Performs the full bootstrap: install s5cmd, configure storage, pull (or initialize) the workspace, persist the pod ↔ workspace ↔ bucket mapping in config, and start the auto-sync daemon.
| Option | Description |
|---|---|
-n, --name | Workspace name (default: pod name) |
-b, --bucket | Bucket spec provider:bucket (default: configured) |
--force | Reattach a pod that already has a workspace tracked |
Use this when:
- You created the pod with
--no-storageand want a workspace later. swm pod create’s SSH probe timed out before bootstrap could finish.- You want to reattach a pod to a different workspace (
--force).
swm setup workspace runpod:abc123swm setup workspace runpod:abc123 -b b2:my-bucketswm setup workspace runpod:abc123 --forceIf any step fails, swm prints the remaining recovery commands so you can pick up where it left off.