Install Marina
Four ways in, from least effort to most control. The desktop app is Marina in its own window; the others end with Marina running on your computer, open in your browser at http://localhost:3300.
Download the app
Section titled “Download the app”No terminal at all: the desktop app has Marina, its dashboard and its world inside. Download the one for your computer, open it, enter a name, click Start Here, then Connect an AI provider and paste your key. The desktop build is released on its own schedule: these are desktop 0.8.0, which runs the 0.8.0 server inside. For the current server, use the install line below.
| Your computer | Download | Then |
|---|---|---|
| Mac with Apple silicon (M1 or later) | Marina for macOS (.dmg) | Open the .dmg and drag Marina to Applications. |
| Windows 10 or 11 (64-bit) | Marina for Windows (.zip) | Unzip it and run Marina-Setup.exe. |
| Linux (x64) | Marina for Linux (.tar.gz) | Unpack it and run ./installer; Marina appears in your applications. |
These builds are not signed, so the first launch needs one extra step:
- macOS says “Apple could not verify ‘Marina’ is free of malware”. Click Done, open System Settings → Privacy & Security, scroll down, and click Open Anyway next to Marina. You only do this once.
- Windows shows “Windows protected your PC”. Click More info, then Run anyway.
All files, with their checksums and build attestations, are on the release page. The app does not update itself yet; download a newer one from the releases when you want it.
Ask your AI assistant
Section titled “Ask your AI assistant”If you already use an AI assistant that can run commands on your computer (Claude Code, Codex, Cursor, or similar), tell it:
Install Marina from github.com/h2oai/marina
It follows the steps in For AI agents below. When it is done it tells you where to paste your model key. You never have to type a command.
One command
Section titled “One command”On macOS or Linux, open Terminal and run:
curl -fsSL https://h2oai.github.io/marina/setup.sh | bashIt takes a few minutes, and asks one thing: paste an API key from Anthropic, OpenAI, Google, OpenRouter, Groq, Together or Nebius. Marina works out which one it is. Press Enter to skip; you can add a key later in the dashboard. Then Marina starts and opens in your browser. Keep the Terminal window open while you use it.
What it does, in order:
- Downloads Marina into
~/.marina/app. - Uses the Bun you have (the runtime Marina uses), or installs its own copy
into
~/.marina/bunwhen there is none recent enough. - Installs Marina’s packages and builds the dashboard.
- Puts the
marinacommand in~/.marina/bin. When new terminals would not find it, it adds one line to your shell’s startup file (~/.zshrc,~/.bashrc,~/.bash_profileor fish’sconfig.fish), marked# Added by Marina setup, and says which. - Asks for the key, saves it in
~/.marina/.env(readable only by you), and starts Marina.
It never uses sudo. Run the same command again to update; your settings and your world are
kept. Next time, start Marina with marina start in a new terminal. An install made before
everything moved into ~/.marina (in ~/marina) is moved in when you run it again.
Options go after bash -s --. For example, to install somewhere else:
curl -fsSL https://h2oai.github.io/marina/setup.sh | bash -s -- --dir ~/apps/marina| Option | Effect |
|---|---|
--dir <path> |
Put the code there instead of ~/.marina/app (or set MARINA_DIR). |
--yes |
Ask nothing and do not start Marina. For agents and scripts. |
--no-start |
Set up, but do not start Marina at the end. |
--no-modify-path |
Leave your shell’s startup file alone. |
--uninstall |
Remove Marina; the same as marina uninstall (below). |
On Windows, run it inside WSL, or use the desktop app or Docker.
What Marina puts on your computer
Section titled “What Marina puts on your computer”Everything is in one folder, ~/.marina (set MARINA_HOME to use another):
| Folder | What |
|---|---|
app/ |
Marina’s code (setup.sh) |
bin/marina |
the marina command |
bun/ |
Bun, only when Marina had to install it |
.env |
your settings and model keys (marina init) |
world/ |
the world marina start runs |
projects/ |
one world per folder you code in (marina .) |
worktrees/ |
Code Mode’s private checkouts of your repositories |
mcp/ |
the Claude Code plugin’s world |
desktop/ |
the desktop app’s data |
sessions/, history/, cache/, … |
sign-ins, command history, caches (Bun’s package cache included) |
Outside it: one PATH line in your shell’s startup file, and, while a Code Mode session is open,
a worktree entry and a marina/session-… branch in the repository it works on. marina start
run in a folder that already holds a world (marina.db) keeps using that folder.
Remove Marina
Section titled “Remove Marina”marina uninstallIt lists everything it will remove, with sizes, and asks once. Then it stops Marina’s running
servers, removes ~/.marina, the PATH line setup added, and anything older versions left
elsewhere (~/marina, ~/.cache/marina, the desktop app’s old data folder, …), and unregisters
Code Mode’s worktrees from your repositories. It says what it leaves:
- Bun in
~/.bun, if you had it: other programs may use it. - Your repositories’
marina/session-…branches: they may hold work you want. It names them. - The Claude Code plugin (
/plugin uninstall marina@marinain Claude Code) and the desktop app itself (delete it like any other app).
| Option | Effect |
|---|---|
--keep-data |
Keep your worlds, settings and worktrees; remove the rest. |
--dry-run |
Only show what would be removed. |
--yes |
Remove without asking. |
If the marina command no longer works, the installer does the same:
curl -fsSL https://h2oai.github.io/marina/setup.sh | bash -s -- --uninstall. A Marina checkout
of your own (one with your changes) is never removed.
By hand
Section titled “By hand”Getting started lists each step, for a source checkout you manage yourself.
For AI agents
Section titled “For AI agents”Steps for an AI agent installing Marina for a person. They need no input from the person until the last step, and the person’s API key never passes through you.
-
Install, without questions and without starting the server:
Terminal window curl -fsSL https://h2oai.github.io/marina/setup.sh | bash -s -- --yesThis takes a few minutes. Everything goes in
~/.marina; the command is~/.marina/bin/marina. New terminals find it; your own shell may not yet, so put it on its PATH:Terminal window export PATH="$HOME/.marina/bin:$PATH" -
Start Marina in the background, so it keeps running after your command returns:
Terminal window nohup marina start > ~/.marina/marina.log 2>&1 & -
Wait until it answers, for up to a minute:
Terminal window curl -fsS http://localhost:3300/health -
Tell the person to open http://localhost:3300, then Admin → Keys, and paste their model API key there. Do not ask them to paste a key into the conversation, and never put a key in a command line. A person at a terminal can instead run
marina init, which asks only for the key. -
Optional: connect yourself to the same world. In Claude Code, run
/plugin install marina --marketplace h2oai/marina; for any MCP client, add the serverhttp://localhost:3301/mcp(MCP guide).
To check what works and what to switch on next, run marina connect <name> -c "readiness".
Change settings later
Section titled “Change settings later”marina init asks only for a key and keeps everything else as it is. marina init --advanced
asks for each setting in turn: the model provider or a local model server, the instance name,
the world and an admin name. The dashboard’s Admin → Keys adds or tests a key without a
terminal. See Configuration for every setting.
