Skip to main content
This uses the hosted central server at api.ephemera.run. You need a GitHub account, a laptop running Linux or macOS (Windows works too, from the zip on the releases page), and one Linux machine with KVM to be your host. That can be the laptop itself, if it runs Linux or WSL2: see Run it on one machine. To run the central server yourself instead, start with Self-hosting; then add --server <URL> to ephemera login.
1

Install the CLI

It downloads the latest release for your OS and CPU, checks it against the release’s checksums, and puts ephemera in /usr/local/bin, or ~/.local/bin if that isn’t writable. Check it with ephemera version.
2

Sign in

The CLI shows a code such as K7QM-2XRT and opens a page in your browser. Sign in with GitHub if you haven’t, check the code matches, and approve. The CLI saves a token for this machine, named after it. The code works for 10 minutes.
No browser on that machine, as on CI? Make a token in the dashboard and use it instead: see Tokens and CI.
3

Add a host

A host is the Linux machine your sandboxes run on: x86_64, with KVM. In the dashboard, make a join code. It works once, for 15 minutes. Then, on that machine:
It installs Firecracker and the host agent, builds the guest image (a few minutes), joins your account and starts. Add a host has the details.The host connects out to api.ephemera.run, so it needs no open ports for the central server. Your laptop does talk to it directly, to send files and read output, so it must be able to reach the host’s address: the same network, or a VPN between them.
4

Run something

In any git repository:
The first time you use a host, the CLI pins its key, like ssh does. The sandbox got the files git tracks, ran the command, and was deleted. ephemera run exits with the command’s exit code.
If a step fails, run ephemera doctor. It checks the login, the central server, the token and each host in turn, and says how to fix the first thing that’s wrong.

Next

Run commands

What goes into a sandbox, exit codes, timeouts and JSON output.

Dev servers

Keep a sandbox running, forward ports, and sync edits as you make them.

Network access

Let a sandbox reach the hosts it needs, and see what it tried.

Coding agents

Hand the sandbox to Claude Code or any MCP agent.