# Quickstart

This guide takes you from a new account to a mounted drive and a connected agent in about five minutes.

## 1. Create an account

[Sign up](/signup) with your email. RemoteSSD signs you in with a link sent to that address, so there is no password to remember. Your account starts with one empty drive.

## 2. Install and sign in

### Linux

Install the client and sign in:

```sh
curl -fsSL https://remotessd.com/install.sh | sh
remotessd login
```

`remotessd login` asks for your email and waits while you click the sign-in link.

### macOS

Download the Mac app from your account page and move it to Applications. Open it, sign in with your email, then turn it on once:

1. Open **System Settings**.
2. Go to **General**, then **Login Items & Extensions**.
3. Under **File System Extensions**, turn on **RemoteSSD**.

No kernel extension is needed and your Mac's security settings stay as they are. The app also installs the `remotessd` command for your terminal.

## 3. Mount your drive

### Linux

```sh
remotessd mount ~/remoteSSD
```

The drive appears as the folder `~/remoteSSD` within a few seconds. To mount it every time you log in:

```sh
remotessd mount ~/remoteSSD --at-login
```

To unmount:

```sh
remotessd unmount ~/remoteSSD
```

### macOS

Once the app is turned on, your drive shows up in Finder under **Locations** and at `~/remoteSSD` in the terminal. It mounts again by itself after a restart.

### Check it works

```sh
cd ~/remoteSSD
echo "hello from $(hostname)" > hello.txt
remotessd status
```

`remotessd status` shows the drive, its cache, and whether the change feed is connected.

## 4. Use it like any folder

Everything that works on a folder works here: Finder, VS Code, `grep`, `git`, `npm`, Claude Code, Cursor. Nothing needs to know it is a network drive.

- The first time you open a file on a computer it comes over the internet. After that it reads from the local cache.
- Big files are not downloaded whole. A program that reads part of a file only fetches that part.
- When someone else saves a file, your computer hears about it right away and drops its cached copy.

## 5. Create an agent key

Each agent gets its own key. Create one from the CLI:

```sh
# Full access
remotessd keys create --name laptop-claude

# Read-only, limited to /reports, expires in 30 minutes
remotessd keys create --name ci-summary --folder /reports --read-only --expires 30m
```

The command prints the key once. Store it in your agent's environment as `REMOTESSD_KEY`.

```sh
remotessd keys list
remotessd keys revoke ci-summary
```

Revoking a key stops that agent and nothing else. Expiry can be from 5 minutes to 12 hours.

## Connect an agent over MCP

The RemoteSSD MCP server is at `https://mcp.remotessd.com/mcp` and takes an agent key as a bearer token.

### Claude Code

```sh
claude mcp add --transport http remotessd https://mcp.remotessd.com/mcp \
  --header "Authorization: Bearer $REMOTESSD_KEY"
```

### Cursor

Add this to `~/.cursor/mcp.json`, or to `.cursor/mcp.json` in a project:

```json
{
  "mcpServers": {
    "remotessd": {
      "url": "https://mcp.remotessd.com/mcp",
      "headers": { "Authorization": "Bearer ${env:REMOTESSD_KEY}" }
    }
  }
}
```

### Codex

Add this to `~/.codex/config.toml`:

```toml
[mcp_servers.remotessd]
url = "https://mcp.remotessd.com/mcp"
bearer_token_env_var = "REMOTESSD_KEY"
```

### Other MCP clients

Any client that supports remote MCP servers over streamable HTTP works. Use the URL above and send `Authorization: Bearer <key>`.

If your agent runs on a computer where the drive is mounted, it can also just use the folder.

## CLI basics

```sh
remotessd ls /                       # list a folder
remotessd cat /notes/today.md        # print a file
remotessd cp ./report.pdf /reports/  # upload
remotessd cp /reports/q3.csv .       # download
remotessd mv /draft.md /final.md     # rename in one step
remotessd rm /scratch/tmp.json       # delete
remotessd search "deadline" /notes   # search names and contents
```

Safe write, which saves only if the file is still at the version you read:

```sh
remotessd stat /plan.md              # shows version: 41
remotessd write --if-version 41 /plan.md < plan.md
```

If the file changed in between, the command exits with a `version_conflict` error and a non-zero status. Read the file again and retry.

## API basics

The API is plain HTTPS at `https://api.remotessd.com/v1`. Authenticate with an agent key.

```sh
# List a folder
curl https://api.remotessd.com/v1/list/reports \
  -H "Authorization: Bearer $REMOTESSD_KEY"

# Read a file; the ETag header is its version
curl -i https://api.remotessd.com/v1/files/reports/weekly.md \
  -H "Authorization: Bearer $REMOTESSD_KEY"

# Read only part of a large file
curl https://api.remotessd.com/v1/files/data/big.parquet \
  -H "Authorization: Bearer $REMOTESSD_KEY" \
  -H "Range: bytes=0-65535"

# Save a file
curl -X PUT https://api.remotessd.com/v1/files/reports/weekly.md \
  -H "Authorization: Bearer $REMOTESSD_KEY" \
  --data-binary @weekly.md

# Safe write: only if still at version 41, otherwise 412
curl -X PUT https://api.remotessd.com/v1/files/plan.md \
  -H "Authorization: Bearer $REMOTESSD_KEY" \
  -H 'If-Match: "41"' \
  --data-binary @plan.md

# Create only if missing
curl -X PUT https://api.remotessd.com/v1/files/tasks/123.claim \
  -H "Authorization: Bearer $REMOTESSD_KEY" \
  -H "If-None-Match: *" \
  --data-binary "agent-7"
```

Each call counts as one operation. See [What counts as an operation](/pricing#what-counts-as-an-operation).

## Undo

### Bring back one file

```sh
remotessd history /plan.md           # list earlier versions with times
remotessd restore /plan.md --version 38
```

### Restore the whole drive

```sh
remotessd restore --drive --to "2026-11-30 14:05"
```

Every file goes back to how it was at that moment. The command prints an undo point, so you can reverse the restore if you picked the wrong time:

```sh
remotessd restore --drive --undo <undo-point>
```

History goes back 30 days on every plan.

## Good to know

- **Two writers on one file.** Edits to different parts of a text file merge. Otherwise the last save wins and the other version stays in history. Agents can use safe writes. See [How it works](/how-it-works#what-happens-when-two-writers-change-the-same-file).
- **Offline.** Cached files stay readable without a connection, but saves need one.
- **Locks.** File locks work between programs on one computer, not across computers.
- **Platforms.** Mac and Linux. There is no Windows client; use MCP, the CLI or the API from Windows.

Questions? Read the [FAQ](/faq) or email [support@remotessd.com](mailto:support@remotessd.com).

---
Source: https://remotessd.com/docs
