# Install

> What you need on the machine, the one command that installs and starts Silos, and what the first run shows.

Source: https://silosplatform.com/docs/install/

The npm package `silosplatform` and the Silos repository are not public yet; this page describes the install as it will work once they are.

You install Silos once, on the machine where your agents will work. It takes one command in a terminal. After that, everything happens in the browser.

If an AI coding agent is installing Silos for you, point it at [`/install.md`](https://silosplatform.com/install.md): the same steps written for an agent, with the checks to run and the questions to ask you, for a local install, Railway or a server with Docker Compose.

## Before you start

| You need | Why |
| --- | --- |
| **Node.js 22.13 or newer** | Silos checks the version and stops on an older one. |
| **Claude Code** (the `claude` command) | Your agents run on it. |
| **A Claude subscription to sign in with** | If this machine has never signed in to Claude, Silos offers to do it on its first screen. |
| **Port 3210 free** | If something else uses it, Silos says it could not listen on the port and stops. `SILOS_PORT` picks another port. |
| **git** | Agents work in real repositories. |
| **tmux** (recommended) | Each real console in the browser is a tmux session. Without tmux, conversations open as chat. |
| **A C/C++ toolchain** (Linux) | The in-browser terminal is a native module that compiles when it installs. On Debian or Ubuntu: `apt install build-essential python3`. On macOS it ships prebuilt. |

OpenCode is an optional second engine. You only need the `opencode` binary if you want agents to run on it. See [OpenCode](https://silosplatform.com/docs/opencode/).

## Install and start

```bash
npx silosplatform
```

Or install it globally and start it by name:

```bash
npm install -g silosplatform
silos
```

The package is `silosplatform`. It installs the command `silos`, which starts Silos from then on.

## What the first run shows

1. The terminal prints the address, with an access token in it:

   ```
   Silos at http://127.0.0.1:3210/?token=<token>
   ```

   `silos` opens that address in your browser. On a machine without a screen nothing opens, so open it yourself. Opening it pairs that browser with Silos.
2. Silos checks Claude Code and your Claude sign-in. If this machine is not signed in yet, it says "Your agents run on your Claude subscription, and this machine isn't signed in to Claude yet." and offers "Sign in to Claude ›", which runs Claude's own sign-in right there.
3. It asks "Who do you want working for you?" You give a name, what the agent will take care of, and where its files go, then press **Create**. [Your first agent](https://silosplatform.com/docs/first-agent/) walks through this screen.

## The access token

The token in the printed address is how your browser proves it is you. It also lives in `~/.silos/token`.

A request from this machine without the token can only read. Every change, and every live connection, needs the token or a login session. Anything that arrives through a tunnel or proxy always needs it. To reach Silos from another device, see [Remote access](https://silosplatform.com/docs/remote-access/).

## Where Silos keeps things

- **Its own state** lives in `~/.silos`. There is no database: the filesystem is the source of truth. The data directory is created `0700`, because transcripts contain secrets.
- **Conversations** are read from Claude Code's own transcripts, `~/.claude/projects` by default.
- **It stays on this machine.** By default it binds to `127.0.0.1`.

Silos only reads conversations it did not create. Deleting something moves it to `~/.silos/trash/`, which empties itself after 30 days.

## Settings

Settings ride the environment. `silos --help` lists them:

| Variable | What it sets | Default |
| --- | --- | --- |
| `SILOS_PORT` | The port | `3210` |
| `SILOS_HOST` | The bind address | `127.0.0.1` (keep it local) |
| `SILOS_DATA_DIR` | Silos' own state | `~/.silos` |
| `SILOS_ROOT` | Claude Code transcripts | `~/.claude/projects` |
| `SILOS_TOKEN` | A fixed access token instead of the generated one | generated |

Two flags:

```bash
silos --no-open    # start without opening the browser
silos --version    # print the installed version
```

## Next

- [Your first agent](https://silosplatform.com/docs/first-agent/): what happens after you press Create.
- [The four nouns](https://silosplatform.com/docs/four-nouns/): the model behind every screen.
- [Security](https://silosplatform.com/docs/security/): what the defaults protect, and what they do not.
