Skip to content

Install on a server

A server keeps your agents working when your computer is off, and lets you open the same chats from any browser or phone. There are two ways to install it:

  • Native runs ZumiBot straight on a Linux host with systemd. You install it with a script, then put an HTTPS proxy in front of it.
  • Docker runs ZumiBot in containers, on a Linux host or a Mac. One script installs it, and HTTPS comes built in. The Docker install is a preview: it has not been proven on many real hosts yet.

Pick a tab below. The other sections follow your pick.

The examples use zumibot.example.com. Use your own address wherever you see it.

  • A Linux host with systemd, and Node.js 22 or newer.
  • Claude Code installed and signed in, as the same user that will run ZumiBot.
  • A domain with an A record (and an AAAA record if the host has IPv6) that points at the host.
  • A normal user account. The installer refuses to run as root, because your agents run as this user.
  1. Download the installer and read it.

    Terminal window
    curl -fsSL https://zumibot.run/releases/latest/install.sh -o install.sh
    less install.sh

    Reading it first is the point: you see what it will do before it does it.

  2. Install it for the address you will open.

    Terminal window
    sh install.sh --origin https://zumibot.example.com

    Run it as your own user, not root. It downloads the latest release and checks it against the publisher’s signature before it unpacks anything.

    The address must start with https:// and have no path after the host. ZumiBot checks that requests come from this address, so use the one you will type in the browser.

    The installer puts ZumiBot in ~/zumibot and starts it as a systemd user service. It asks before it runs the one command that needs sudo, loginctl enable-linger. That command keeps the service running after you log out. If you say no, everything else still works, but the server stops when your last session ends.

    If the installer warns that claude was not found, install and sign in to Claude Code as this user now. The server starts either way.

  3. Point your HTTPS proxy at it.

    ZumiBot listens only on its own machine, on port 4317. A proxy that adds HTTPS is the only way in. The installer wrote ready-made Caddy and nginx configs with your address already filled in, in ~/zumibot/proxy/. Installing either one needs root, so the installer leaves it to you. See the proxy section below.

  4. Open https://zumibot.example.com/setup.

    The setup page asks for a one-time code. The server printed it to its log when it started. Read it with:

    Terminal window
    journalctl --user -u zumibot -n 20 --no-pager

    Paste the code into the page and follow the steps. First-run setup walks through them.

  5. Update it later.

    Terminal window
    ~/zumibot/bin/zumibot-update

    It does not update while a reply is running. Wait for the reply to finish and run it again, or add --force to interrupt it. You can also update from Settings, in the About section. Update your server has the details, and how to go back to the earlier version, which works only if the update kept a copy of your data.

This section is for the native install. The Docker install brings its own HTTPS, so skip it.

Use Caddy if you have no proxy yet: it gets its own certificates. Use nginx if it is already running on the host. Either way, open ports 80 and 443 first. If you use ufw, allow SSH before you turn it on:

Terminal window
sudo ufw allow OpenSSH && sudo ufw allow 80 && sudo ufw allow 443 && sudo ufw enable

Install Caddy from its official apt repository. Then add ZumiBot as its own file, so any sites you already have stay as they are:

Terminal window
sudo cp ~/zumibot/proxy/Caddyfile /etc/caddy/zumibot.caddy
grep -qx 'import zumibot.caddy' /etc/caddy/Caddyfile || printf '\nimport zumibot.caddy\n' | sudo tee -a /etc/caddy/Caddyfile
sudo caddy validate --config /etc/caddy/Caddyfile && sudo systemctl reload caddy

If you use another proxy, it must serve HTTPS and pass WebSocket connections through to 127.0.0.1:4317.

  • There is no plain-HTTP mode. ZumiBot signs you in with a secure cookie, so it needs HTTPS.
  • The setup code lives only in the running server’s memory. If the server restarts before you finish, it prints a new code and the old one stops working.
  • If you reach a server from the desktop app, type the same https:// address on its first screen.
  • With the native install, agents run as the user that installed ZumiBot. Keep the projects they work on in that user’s account.
  • With Docker, agents run inside the container. They work with the container’s files, not the host’s, and a file they write outside its volumes is gone after an update.
  • The Docker image leaves out computer use and agent browsers. The app says what is missing where you would use them, and chats work as usual.
  • With Docker, back up the zumibot_data, zumibot_claude and zumibot_vault volumes. Keep the vault copy apart from the others: it holds the key to your vault. docker compose down -v deletes every volume, your chats and the vault key included.
  • With Docker, admin commands run in the container. From ~/zumibot-docker, for example: docker compose exec zumibot-local zumibot-server set-password.
  • To change a Docker install’s Tailscale address later, edit ZUMIBOT_LOCAL_ORIGIN in ~/zumibot-docker/.env, then run docker compose up -d in that folder.