Start here
Getting started
Open a terminal on macOS or Linux, or inside WSL2 on Windows. Git is required. The installer supplies Node and pnpm.
To install the latest stable Spool release, paste this line into your terminal.
SPOOL_TAG=$(git ls-remote --refs --tags --sort=-version:refname https://github.com/just-every/run-spool.git | awk '$2 ~ /^refs\/tags\/v[0-9]+\.[0-9]+\.[0-9]+$/ && !tag { sub("refs/tags/", "", $2); tag=$2 } END { if (tag) print tag }') && test -n "$SPOOL_TAG" && printf 'Installing Spool %s\n' "$SPOOL_TAG" && mkdir run-spool && git init -q run-spool && git -C run-spool remote add origin https://github.com/just-every/run-spool.git && git -C run-spool fetch --no-tags origin "refs/tags/$SPOOL_TAG:refs/tags/$SPOOL_TAG" && git -C run-spool checkout --quiet --detach "refs/tags/$SPOOL_TAG^{commit}" && (cd run-spool && curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev --host localhost)
A first local start can take several minutes while rer installs dependencies and prepares Spool. rer dev prints progress every 20 seconds and shows how long it will wait.
Open the private RER_OPEN link printed in your terminal and keep it private. Name this installation and create your first project. You can change the installation name later in Settings → General and your own name or email in Settings → Members.
To start Spool again, run cd run-spool && ~/.local/bin/rer dev --host localhost. To stop it, run ~/.local/bin/rer dev --stop. Starting with Spool 0.7.18, on localhost choose Settings → General → Local passkey → Add passkey to enable passkey sign-in for the owner.
Details
Choose your owner
For separate lifecycle steps, ~/.local/bin/rer install installs the locked dependencies and ~/.local/bin/rer setup prepares or preserves the owner and local settings, then stops its temporary app. Run ~/.local/bin/rer dev afterwards to start Spool. Explicit ~/.local/bin/rer setup prompts for missing required answers when stdin is a terminal (unless --json or --non-interactive is set). Piping an email alone is not a setup answer.
To choose your real email before first start, use the clone command under Other ways to run locally on the Run page, install rer, then run ~/.local/bin/rer setup interactively from that checkout before starting dev. If dev already made a temporary owner, stop dev first and supply OWNER_EMAIL through the answers file to replace that temporary address while keeping its data. Saved answers are reused, so an existing address is not prompted again. Keep addresses and secrets out of shell arguments.
For non-interactive setup, work from the Spool checkout and create an ignored private answers file:
mkdir -p .rer/local
(umask 077; touch .rer/local/setup-answers.json)
chmod 600 .rer/local/setup-answers.json
Open that file in your editor and save a JSON object using the installer field name:
{"OWNER_EMAIL":"you@example.com"}
Then run:
~/.local/bin/rer setup --answers .rer/local/setup-answers.json --non-interactive
~/.local/bin/rer dev
The --answers path must be relative and contained inside the checkout. Absolute paths, .. traversal and symlinks are refused; the file must be owned by you, regular, unshared by hard links and readable/writable only by you (0600). .rer/ is already ignored by this checkout. Do not place the file in a shared directory or commit it.
With rer dev v2 (using the rer version pinned in package.json), this ingest key works from your app against local Spool without the private dev gate. A deploy key from Settings also works from your local build without the gate. Allow your browser app's exact origin in Capture; never give the browser the RER_OPEN link or its gate. Local read-only agent access still needs the gate, privately extracted from the rer-dev fragment as SPOOL_DEV_KEY; see the agent guide. Deployed Spool refuses all dev-minted keys; sign in there and create fresh keys. Key scopes explains the boundaries.
If you opened the app address and cannot sign in as the local owner, open a terminal in your run-spool folder and run ~/.local/bin/rer dev --as owner. Open the private sign-in link it prints on this computer and keep that link private. In Spool 0.7.17 only, rer dev --as owner ended with "entry exchange not observed" (fixed in 0.7.18; on 0.7.27 it prints a link that opens as the owner); on 0.7.17, run plain ~/.local/bin/rer dev and open its RER_OPEN link, which is the owner entry. After registering a release in Releases, the confirmation beside Register release names the release; Return to capture test takes you back to Capture. — sd, 2026-11-17.
Your first project
The first time you open Spool, /setup offers project creation or archive restore. For a new project, give it a name and a short identifier, such as web-app. If you are moving existing evidence, choose Restore a private archive before creating a project.
Spool then shows the project's ingest key once. Copy it now: if you lose it, create a new ingest key in Settings. The setup screen shows the key once and leaves it active and unnamed, so name it or revoke it in Settings → Project keys → Details (Save key name, Revoke key). Below it are the install line and a three-line init for Spool's SDK, already filled in with this installation's address and that key, and Send test error, which sends one real error to the new project. Already using Sentry? The project's Sentry DSN is shown there too.
Spool's first check is one test event received: use Send test error to check that the key and release receive an error from Spool itself, wait for Spool to say it received the test error and open the test issue it links, then choose Continue to workbench to open the project's Issues. If you sent the test, its issue is already there; otherwise the list waits for your first event. The test does not check your app's browser origin or source maps. Connect your app next; Check for events is on the later Capture page.
Stopping and starting
With terminal (TTY) output, ~/.local/bin/rer dev stays in the foreground; stop it with Ctrl+C. With non-TTY output, it returns once ready and leaves the server running in the background; stop it with ~/.local/bin/rer dev --stop. You can also stop it from another terminal. Use --foreground or --detach to choose explicitly. Your owner, projects and events are kept on this computer and are still there the next time you run ~/.local/bin/rer dev. If signed-in pages never finish loading while /health answers, one stop and start has cured it: run ~/.local/bin/rer dev --stop, then ~/.local/bin/rer dev --host localhost.
Stop dev before deploying, verifying, resetting or transferring local data.
To move Spool to another computer, use Download private archive in Settings, then start a fresh copy on the new one. On /setup, choose Restore a private archive, select the file and choose Restore into empty installation. Create new project keys after restore; archives exclude credentials. The browser accepts up to 16 MiB. For a larger archive or CLI restore, follow the transfer procedure, including chmod 600 for browser downloads.
To put Spool online, read Hosting.