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 world create

Declare a new world in spwn.yaml.

Append a worlds.<name> entry to the project's spwn.yaml.

This is a pure config write - no container is created. Once declared, spawn the world with "spwn world start <name>" or "spwn world <name>".

The agents listed via --agent must already exist on disk under spwn/agents/<name>/. Use "spwn agent create" first if they don't.

Usage
spwn world create <name> [flags]
Options
-a, --agentstringArrayAgent name (repeatable). Must already exist under spwn/agents/
-w, --workspacestringArrayWorkspace mount. Forms: "path", "name=path", "name=path:ro"