Skip to main content
A self-hosted runs on your own hardware and only connects outward. You install it with one line that checks the release’s signature before installing anything.
  • Linux on amd64 or arm64 (Ubuntu 22.04 or 24.04, Debian 13, DGX OS, Raspberry Pi OS 64-bit), 2 vCPU, 2 GB RAM for the Node, 5 GB of free storage and running time synchronization (NTP).
  • Docker Engine with the Compose plugin, or Node.js 22 for running with systemd.
  • For automatic updates, the nightly backups and running with systemd: Mono’s own Node.js 22 and cosign 2.6 or later. From Mono 0.6.15 the line brings both, checked: Node.js into /opt/mono/update/runtime (owned by root, used by its full path), cosign into /opt/mono/bin – only where they are needed. The system’s Node.js is never installed, replaced or required: a host with an older /usr/bin/node (Debian 12, Ubuntu 24.04) installs as it is. A Docker server without updates and backups gets neither.
  • Outbound: HTTPS to Mono’s release host and to your tunnel. Inbound: nothing.
  • A Raspberry Pi 4 or 5 with a 64-bit system and at least 2 GB RAM. The installer refuses a 32-bit system.
  • A Synology or QNAP NAS: at least 1 GB of free memory for the Node beside DSM or QTS and your other containers. Measured, the Node used 134–152 MB while running, more while reading documents. A NAS with 2 GB RAM in total is enough only without other containers; otherwise it swaps and slows down.
  • A way in from the internet for Claude, ChatGPT and Copilot: the key for Mono Edge from Mono, or your own Cloudflare or Tailscale account. Without the key, the installer shows “Mono Edge · Coming soon” and proposes “Local only”; without Mono’s sign-in relay, “Sign in with Mono · Coming soon”, and the first admin uses a passkey through the setup link.
If this host is ever to run several tenants (an IT partner, for example), install the first Node already with --mandant <short name>, for example … | sh -s -- --start --mandant muster. With systemd no second Node starts beside one installed without --mandant: the installer refuses it, and a second tenant then needs Docker or another host. More under “Several tenants on one host” below.

Install the Node

1

Get the line

The Console shows the line under “Start new” › “Self-Hosting”, with the release host filled in. Choose there where Mono runs: “Server, NAS, GB10”, “Raspberry Pi”, “Synology / QNAP” or “Kubernetes”. If you enter an email address under “Admin of the tenant”, the line takes it along: this person becomes admin at their first sign-in, without a setup link. If you are signed in to a tenant on Mono Edge, the Console also reserves the new Node’s address and puts a one-time code into the line, see Self-hosting from the Console.
2

Run the line on the host

The line checks the signed release offline with cosign and only then starts the installer. The line runs the installer as root: on a host where you are not root, it asks for your sudo password. Only --kubernetes runs without root.
A Kubernetes cluster takes a different path: Run Mono on Kubernetes. On a Synology or QNAP NAS, you paste a project in Container Manager instead of the line, see Self-hosting from the Console.The lines here install 0.7.0-rc.2, the newest released version. Without a version (https://releases.cloud.ask-mono.ch/install) the line installs the newest stable version; you choose another version with https://releases.cloud.ask-mono.ch/v/<version>/install.
3

Answer the installer’s questions

Without further options, install.sh asks for each value, in the host’s language; another one with --lang en (de, fr, it, rm). The line from the Console and from “Mono Admin” already carries their language:Never asked: the port (--port), Mono’s sign-in relay (--signin-relay for a test stage) and the e-mail domain (in the Console under Access › Sign-in).The installer does not show a secret value while you type.Running the line again starts from the saved settings: it keeps every answer and asks only what is missing. An option changes its value, for example --console-origins or --admin-group (who is admin changes at the Node’s next start). --review asks every question again, with the saved answers as defaults.
4

Set up the first admin

At the end, the installer shows the , for example https://ki.muster.example/einrichten#code=ABCD-EFGH-JKMN-PQRS. It is valid for 60 minutes and for one use; the installer names the time until when. It shows it only when your server answers at its address (“Mono is running: …” with the address), else it says what is missing. sudo mono setup-link on the server gives a new link; a server that has an admin already says so. Give it to exactly the person who becomes admin, never in a chat or a ticket. The time until which it is valid is the host’s time, in the host’s time zone.The person opens the link, sees “Set up Muster AG” and signs in. Whoever signs in this way first, with a verified address, becomes the first admin.If your Node has passkeys as its only sign-in (the install line’s default without “Sign in with Mono”), the link opens the page “First admin of Muster AG”: the person gives a name and an email address and creates a passkey with Touch ID, Face ID, Windows Hello or a security key. Afterwards they are signed in to the Mono Console. The address is given by the person: Mono does not verify it and ties no right to it. A browser creates passkeys only at an address with https or at http://localhost; otherwise the page says what to do.
The first person is admin. Under Operations › “Health”, “First admin” shows their address and “through the setup link”.
If the first person signed in with “Sign in with Mono”, they get a mail from Mono: “You are the first admin of <your Node’s address>”. If that was not you, remove the address in Access › Sign-in and print a new setup link with sudo mono setup-link --mandant muster. The mail goes only to an address that just signed in through Mono at exactly this Node.

How the Node can be reached

Mono Edge needs a key for your Node. With an address reserved in the Console, the installer fetches it itself with the one-time code. Without this code, Enter on the reachability takes local. If you type edge anyway, the installer asks for the address service and says where it is: in the Console’s line after --edge-url. Enter there goes back to the reachability. So reserve the address in the Console under “Start new” › “Self-Hosting” and run its line, or choose another reachability. Later, you change the reachability only on the host. Operations › “Custom address” › “Change reachability” shows the command for it.
  • Updates are on from the start: the Node fetches signed updates itself, in the “stable” ring and in the maintenance window daily 02:00–05:00. For this, the line brings Mono’s own Node.js (into /opt/mono/update/runtime; the system’s Node.js stays as it is) and cosign where it is missing. To switch only the updates on or off: the same line with --updates-on or --updates-off – it changes nothing else. At the end, the installer says in one line what it set up and how to change it. Without updates: --no-updates – the server then stays on its version until someone updates it: the same line for this server brings it to its release by hand, and updates stay off. On a host with several Mandanten, another Mandant’s update changes nothing on this server – neither its program nor its Console. Running the line again keeps what the server had; --updates turns them back on. More in Control updates.
  • Every night, the host backs up the state and keeps it for 14 days. More in Backup and restore.
  • On a device in the office, ssh <user>@mono-ab12.local finds the host on the local network. This name does not lead to the Console.
If the first admin of a Node with passkeys as its only sign-in lost their passkey, sudo mono setup-link --mandant muster --recover on the server issues a recovery link. It is valid for 60 minutes and for one use. Through it the person creates a new passkey; their earlier passkeys stop working then, and every other sign-in of theirs ends at once: the Console in other browsers and in the desktop app, the AI clients and the kept sign-in of other browsers. Keys for AI clients without OAuth and the person’s open links and tickets end too, such as a link to add a passkey and the page for talking to Mono. The browser that creates the new passkey stays signed in. Their consents for AI clients stay: an AI client connects again with the new passkey. The link comes only from the server, with administrator rights there, never from a web page, and only while that person is the only admin. If there is another admin, that admin signs in. The Node records every request and every recovery in the audit log. Operations and Access › Sign-in show the recovery with its date as a line of its own, and after signing in the person sees the notice “Your passkey was replaced from the server on …”, which only they can close.
The first admin with their own passkey has no verified email address. Mono therefore sends them no email: notices about updates, backups and alarms are in the Mono Console and in the chat. “Admins by email” is greyed out on a server with passkeys only, because nothing there verifies an address. You still invite people: the invitation brings a one-time link with which the person creates their own passkey. For a normal account, connect a sign-in provider under Access › Sign-in (Microsoft, Google, your organization’s login) or switch on “Sign in with Mono”, invite your own address as admin and sign in with it. That sign-in is a person of its own: Mono does not join it with the passkey admin. While that admin is the only one, Mono lets nobody remove their last passkey or switch passkeys off. You change your server’s address on the server with the install line; afterwards it names the command for a new passkey, because a passkey works only at the address it was made for.
On a Raspberry Pi or a GB10 with a monitor, install.sh --firstboot shows the setup link as a QR code on the screen as long as there is no admin. Leave this out on a shared server.
If your identity provider runs under an internal name or with a certificate from your own CA, tell the Node both. This works the same for systemd, Docker, the NAS project and Kubernetes.
  • --extra-hosts idp.firma.intern=10.0.0.5: names the Node resolves itself, several separated by commas. Otherwise a container knows only the network’s DNS.
  • --ca-file /path/ca.pem: the CA of your certificate in PEM format, in addition to the public CAs.
To change one of them later, run the same line with only that flag; the other answers stay and the Node restarts. none removes it. By hand they are MONO_EXTRA_HOSTS and MONO_CA_FILE in the settings file; then use the restart Operations names.
A NAS or a server without a screen shows a short code and an address with curl -fsSL --proto '=https' --proto-redir '=https' --max-redirs 2 https://releases.cloud.ask-mono.ch/v/0.7.0-rc.2/install | sh -s -- --mandant muster --device-code. You open it on your phone, sign in and confirm. See First admin with a device code.
An IT partner runs several tenants on one host, each a Node with its own port, its own settings file and its own state. Two tenants never share a Node. More in Many Nodes from one topology.

MONO_KEYS_FOR

Instead of a key, an admin can name a variable of your server’s settings for a system or a model provider (env:MONO_KEY_…). Your server sends it only to the addresses you, the operator, allow for it. Anything else is refused before anything is sent, and the message says what to add.
1

Read the refusal

The message names the variable and the address, for example “MONO_KEY_CUSTOM is not allowed for api.example.com on your server”.
2

Add the line

In the server’s settings file (/etc/mono/node.env, with Docker .env, in Kubernetes the Secret node.env) add MONO_KEYS_FOR=MONO_KEY_CUSTOM=api.example.com. Separate several addresses with commas and several variables with semicolons: MONO_KEYS_FOR=MONO_KEY_CUSTOM=api.example.com,api2.example.com;MONO_KEY_MISTRAL=api.mistral.ai. With install.sh, use --keys-for. If your server has several Mandanten, name in each entry after «@» the Mandant it is for: MONO_KEYS_FOR=MONO_KEY_CUSTOM@muster-ag=api.example.com, for several @muster-ag,firma-b. An entry without a Mandant holds only on a server with exactly one Mandant; on a server with several it holds for none, and the log names it at start (env_keys.no_mandant).
3

Restart the server

Docker: docker compose up -d. systemd: systemctl restart mono-node (or mono-node@<tenant>). Kubernetes: replace the Secret and restart the pod.
4

Connect again

The admin names the variable once more. On every way, the audit shows which variable went where.
  • The variables your server uses itself never belong to a system or provider, not even with MONO_KEYS_FOR: MONO_KEY_CONNECT, MONO_KEY_WORKER and the keys of the instances and speech engines in your settings. Create a variable of its own for such an address.
  • A reference set up before 0.6.16 keeps working after the update for exactly the address it had then. If the address changes, Mono removes the reference, like a stored key.
  • Except: a reference to a variable your server uses itself (for example MONO_KEY_CONNECT) ends at the update. The system or provider then lacks its key; an admin enters one of their own through the one-time key link. The audit and the log (env_keys.own_ended) name each such reference. Every reference that still holds is in the log at each start (env_keys.kept): check that every address there is yours, and otherwise replace the key.
  • The same rule holds for MONO_IDP_… of a sign-in method an admin adds: never a name your server’s own sign-in uses, otherwise only for the issuer you name in MONO_KEYS_FOR (for example MONO_IDP_OIDC_SECRET=login.firma.ch). A sign-in method from before the update that uses one of your server’s own variables keeps working, so nobody is locked out; the log names it at each start (identity.secret_own). Have the admin enter a key of their own, then replace the variable.
  • Mono Cloud and the Private Cloud read no variables. There a key goes on the key page.
  • The whole list is yours, as the operator: at start the server logs every MONO_KEY_… variable without a line in MONO_KEYS_FOR (env_keys.unlisted), with the line to add. Never with the value.
  • MONO_KEYS_FOR names host names: every port and every path of that host gets the key. A host that serves several customers by path (a hook or function service) therefore gives it to all of them. The whole line to set is in the log at start (env_keys.line) – check that every host in it is yours.
  • Operations shows a Mandant’s admins under “Keys from the settings” only their own systems and providers that name a variable, and whether it is allowed for their address – never another Mandant’s address and never a variable none of their systems names.
  • Without a variable it always works: the one-time key page stores the key in the server’s key store.

In the chat

If “Mono Admin” is connected, you ask in Claude or ChatGPT how your Node is running.

Shows the Node's version, health, updates and backup.

“Mono Admin” shows the card “Operations”: the version and where the Node runs, the measured health, updates and backup, each with the next step.

Installs the next update. Mono asks with “Please confirm”.

The change comes as the card “Please confirm” and applies only after your click in the card. The installation itself, the reachability and the setup link exist only on the host: no chat ever sees the link.

If something does not work

Next

Custom address

Your own name with one DNS record.

Connect an AI client

“Mono Admin” in Claude, ChatGPT or Copilot.

Mono on Kubernetes

The Helm chart, one Pod, one volume.

Remove Mono from the host

One line with --uninstall: what goes, what stays.

Getting started, self-hosted

The whole start in one go.
Last modified on December 3, 2026