Install

Install MantleOS

MantleOS runs on a server you own. Six steps take you from no server at all to your first chat with the assistant, and each one shows the exact command to copy.

Screen print of a 1970s computer cabinet with dials and lamps standing on a workbench, the mantleOS nameplate on its front, an open toolbox and a coil of cable beside it.
Screen print of a long aisle of identical computer cabinets, one in front with a key and a blank tag hanging from its handle.

Step 1

Rent a server

MantleOS runs on a Linux server you rent by the month, a VPS. Pick Ubuntu, the latest LTS, with 8 GB of memory or more, 4 vCPU and 40 GB of disk. A 4 GB, 2 vCPU server runs the small core shape.

ssh-keygen -t ed25519

on your own computer: makes an SSH key

cat ~/.ssh/id_ed25519.pub

paste the line it prints into the host’s SSH key field

Get a server
Screen print of a person typing at a small terminal, a cable running over a hill to a computer cabinet with crates beside it.

Step 2

Connect and install Docker

When the host sends you the server’s IP address, connect to it and type yes to trust it. Then install Docker, which MantleOS runs in. It worked when docker compose version prints a version number.

ssh root@<ip>
curl -fsSL https://get.docker.com | sh
Order and connect
Screen print of a wooden signpost at a crossroads, its blank arrow pointing up a road to a lit building on a hill.

Step 3

Point a domain at it

A domain such as brain.example.com is your brain’s address and gives it HTTPS. In its DNS settings make one A record: the name brain (or @ for the domain itself), with your server’s IP address as the value. Ports 80 and 443 must be open. Only at home or over a VPN? Skip this step.

ping brain.example.com

shows the server’s IP once the record is live

Add a domain and HTTPS
Screen print of a hand pulling a big lever on a tall machine while wooden crates slide down a chute into it.

Step 4

Run the installer

On the server, run this line. It asks how people reach the brain: 1, the default, is a domain with HTTPS; 2 is this machine only; 3 is this machine’s network. Press Enter to take each default, and Enter again at Go ahead?. The first install downloads about 2 GB.

curl -fsSL https://raw.githubusercontent.com/crossworks-engineering/mantle/main/install.sh | bash

It installs into ./mantle. Running it again is safe: it keeps your data and secrets.

Install on a server
Screen print of a hand holding a paper ticket and a brass key in front of a closed door with a small keypad.

Step 5

Keep the address and the setup code

The installer ends with the address to open and a setup code: you need both next. Back up mantle/.env too, as its master key unlocks your stored keys and passwords.

bash scripts/install.sh --setup-code

in the install directory, prints the code again

cd mantle && bash scripts/install.sh --check

checks the install any time

If it fails
Screen print of a person at a desk computer chatting with a small waving robot, a ticked checklist pinned on the wall.

Step 6

Create your login and meet your assistant

Open the address in your browser. Enter your email, a password and the setup code, and click Create login.

A setup wizard walks you through the rest: paste your OpenRouter key (one key that reaches many AI models), pick the models, switch on memory search and set up your assistant. It saves each step, so you can stop and come back.

Create your account

Other ways

Other ways to run it

Let an AI assistant do it

An AI assistant on your computer connects to your server over SSH and runs the install, while you approve each command.

Install with an AI assistant

A small server

The core shape fits a 2 vCPU / 4 GB server. It keeps memory, file ingest, the API and MCP, and drops the email and Telegram workers.

Install on a small server

Headless, with no UI

A brain driven only by MCP or the API, with no web screens on the server.

Install options

MantleOS Desktop

For Linux, macOS and Windows. It opens a brain that is already installed; it does not install one.

Get MantleOS Desktop

From source

Run the brain from a git checkout, with the UI from the jackdaw repo. For working on MantleOS itself.

Run from source

Every detail is in the install guide.