---
title: "Choose a deployment"
description: "Compare the ways to run HolaClaw Server on Linux — container, system service, your own user or NixOS — and see where each one keeps its config, secrets and data."
updated: 2026-11-16
canonical: https://holaclaw.ai/docs/server/choose-a-deployment
---

HolaClaw Server runs on Linux, on `amd64` or `arm64`. This page helps you choose how to run it. Every installation guide ends at the same place: HolaClaw Server initialised, the daemon running, and a `holaclaw` command you can run.

On a Mac, use [HolaClaw Desktop](/docs/desktop/install-on-mac) instead. It runs HolaClaw Server in a virtual machine and manages it for you.

## The options

| Deployment | Runs as | What the agent's `exec` tool can reach | Guide |
| --- | --- | --- | --- |
| **Container** (recommended) | the image's own users, under Docker or Podman | the container only | [Container](/docs/server/container) |
| **System service** | the `holaclaw` system user, under a hardened systemd unit | the host, read-only outside its own directories, with `/home` hidden | [Debian and Ubuntu](/docs/server/debian) |
| **Your own user** | you, as a systemd user service or in a terminal | your home directory | [As your own user](/docs/server/user-service) |
| **NixOS** | the module's hardened units, on the host, in a NixOS container or in a VM | the host, or the container or VM | [NixOS](/docs/server/nixos) |

We recommend the **container** when the machine does anything else. The agent, its tools and `exec` see only the container, never the host, and the only programs `exec` can run are the ones in the image.

The **system service** is a good fit for a dedicated machine or VM where you would rather not run a container engine. It needs `sudo`.

**Your own user** needs no `sudo`, but the agent and any command its tools run have your home directory in reach. Use it to try HolaClaw Server out.

The [install script](/docs/server/install-script) sets up any of the first three for you. Each guide also lists every command it runs, if you prefer to do it by hand.

## What you need

- Linux on `amd64` or `arm64`.
- For the container: Docker or Podman.
- For a service: systemd. For the system service, a user with `sudo`.
- A model provider. See [Providers and models](/docs/server/providers-and-models).

HolaClaw Server is one static binary with no runtime dependencies. Chromium and Xvfb are needed only for the [browser](/docs/server/browser), which is optional.

## Where things are

The rest of the docs write commands as `holaclaw …`. Run them the way your deployment does:

| | Container | System service | Your own user | NixOS |
| --- | --- | --- | --- | --- |
| **Run a command** | `docker exec holaclaw holaclaw …` (add `-it` for one that asks or opens a screen, `-i` for one that reads stdin) | `sudo -u holaclaw holaclaw …` | `holaclaw …` | `sudo -u holaclaw holaclaw --config /etc/holaclaw …` |
| **Config directory** | `/etc/holaclaw`, in the `holaclaw-config` volume | `/etc/holaclaw` | `~/.config/holaclaw` | `/etc/holaclaw` |
| **Secrets directory** | `/etc/holaclaw-secrets`, in the `holaclaw-secrets` volume | `/etc/holaclaw/secrets` | `~/.config/holaclaw/secrets` | `/etc/holaclaw/secrets` |
| **Data directory** | `/var/lib/holaclaw`, in the `holaclaw-data` volume | `/etc/holaclaw/data` | `~/.config/holaclaw/data` | `/etc/holaclaw/data` |
| **Owner's token** | `/etc/holaclaw-secrets/token` | `/etc/holaclaw/token` | `~/.config/holaclaw/token` | `/etc/holaclaw/token` |
| **Restart** | `docker restart holaclaw` | `sudo systemctl restart holaclaw` | `systemctl --user restart holaclaw` | `sudo systemctl restart holaclaw` |
| **Logs** | `docker logs holaclaw` | `journalctl -u holaclaw` | `journalctl --user -u holaclaw` | `journalctl -u holaclaw` |

Every `docker` command works the same with `podman`.

## Related

- [Install with the script](/docs/server/install-script)
- [Configuration overview](/docs/server/configuration)

