Search

Menu

Get Spwn on your computer

On this computer

macOS or Linux. Paste it in a terminal:

curl -fsSL https://spwn.sh/install.sh | bash

It installs two commands, spwn-agents and spwn-machines (short: agents, machines). Then spwn auth, spwn init, spwn agent neo. Docker must be running.

Send it to another computer

A phone can’t run Spwn. Send the command to the computer that will.

Email it to meOpens your mail app with the command. You type the address.

macOS or Linux · Docker running · no Spwn accountGetting started

Docs

Agents commands

spwn init

Scaffold a Spwn project in the current directory.

Scaffold a Spwn project in the current directory.

Without arguments, creates a blank spwn.yaml plus a default ./spwn/ tree (one world, one agent) and adds .spwn/ to .gitignore.

A positional example ref installs one of the bundled gallery entries into the current directory. Bare names resolve through the catalog:

spwn init matrix # shorthand for spwn init spwn:matrix spwn init spwn:matrix # explicit form

Use --global to instead seed ~/.spwn/ with a world config (legacy user-home mode, kept for backward compatibility).

Usage
spwn init [example-ref] [flags]
Options
--backendstringPin the scaffolded agent to a runtime backend (e.g. claude-code, codex). Leave empty to let Spwn resolve at spawn time.
-f, --forceOverwrite existing spwn.yaml
--globalInitialise ~/.spwn/ (legacy user-home mode)
--namestringProject name (default: current directory name)