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 snap restore

Restore a world from a snapshot.

Creates a new world from a previously saved snapshot. The snapshot format is: w-{id}--{name}

Usage
spwn world snap restore <snapshot> [flags]
Options
-a, --agentstringAgent name (omit for an empty world)
-c, --configstringNamed world config (default: default)
-w, --workspacestringArrayHost dir to mount. Repeatable: "path", "name=path", "name=path:ro". Omit for ephemeral.