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

Docs · Getting started

One line installs both apps.

Then a first run of each: Agents talks to an agent in a sandbox, Machines builds a machine from one file.

Before you start

  • macOS or Linux. Machines makes each machine on a Mac.
  • Docker running, for Agents: Docker Desktop or OrbStack.
  • An agent runtime you already sign in to, such as Claude Code, for Agents.

Install

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

    267 lines of sh. It downloads the newest release from GitHub and checks each binary against the release’s checksums. It installs two commands, spwn-agents and spwn-machines (short: agents, machines). Both go to ~/.local/bin; the two aliases, and the PATH line if your shell needs it, go to your shell’s file. No sudo. On a terminal it then hands over to station init, passing it its own arguments, such as --name; with --no-init, or with no terminal, it prints that command instead.

Commands below are written with the binaries’ names, spwn and station. spwn-agents and spwn-machines, and their aliases agents and machines, run the same commands.

Agents: a first agent

  1. spwn auth

    Opens a dashboard of the agent runtimes you sign in to, where you sign in or pick one. Spwn has no account of its own.

  2. spwn init

    Scaffolds a project in the current folder: spwn.yaml, spwn.lock, the agent spwn/agents/neo/, and examples of a skill, a tool, a hook and a command. It adds .spwn/ to .gitignore.

  3. spwn agent neo

    Builds neo’s image, brings up its world, a sandboxed Docker container, if it is not running, and opens a session with neo.

Machines: a first machine

  1. station init

    Makes this computer known to Machines: it names it, asking the name on a terminal, and writes Machines’ block in ~/.zshrc. It installs no app and asks no password. The installer runs it on a terminal; run it yourself after --no-init or an install with no terminal.

  2. ~/.config/station/machinefiles/qa.machine.yaml
    machinefile: station.machinefile/v1
    name: qa
    machine:
        kind: workspace
        system: { os: ubuntu, version: '24.04', arch: arm64 }
    extends: [base-ubuntu]
    apps:
        - { name: node, version: '24' }

    Describes the machine in one file: a Linux workspace on Machines’ own base-ubuntu, with Node 24 added. Machines reads your Machinefiles from this folder.

  3. station images build qa

    Builds the image the file makes, on this Mac. A command that needs tart, the hypervisor behind the VMs, offers to install it first.

  4. station machines create qa-1 --from qa

    Makes the workspace qa-1 from that image, sized as the file says, and prints each step as it passes: Running, Has an address, SSH answers.

Stop or remove it

spwn down destroys a world; the agent and its mind stay. spwn agent rm neo removes the agent and its mind.

On Machines, station machines stop keeps a VM’s disk; station machines delete removes it.

To remove the commands, delete spwn, station, spwn-agents and spwn-machines from ~/.local/bin, and the lines under # Added by spwn installer in your shell’s file.

Next