---
title: "Run HolaClaw Server as your own user"
description: "Run HolaClaw Server without sudo, from your home directory, as a systemd user service or in a terminal."
updated: 2026-11-16
canonical: https://holaclaw.ai/docs/server/user-service
---

With no `sudo`, HolaClaw Server can run as you, from your home directory. It is the quickest way to try HolaClaw Server out on a machine you do not administer.

> **Warning**
> Here the agent, and any command its `exec` tool runs, run as you, with your home directory in reach. When the machine does anything else, the [container](/docs/server/container) is the better choice.

## With the install script

```sh
curl -fsSL https://holaclaw.ai/install.sh | bash -s -- --user --provider openrouter
```

Any provider works, with its flags. Without `--provider`, `init` asks for one. The script:

1. Installs the binary to `~/.local/bin/holaclaw`.
2. Runs `holaclaw init` into `~/.config/holaclaw`, which asks for the API key.
3. Starts the daemon as a systemd user service, `holaclaw`, from `~/.config/systemd/user/holaclaw.service`.

With `--browser`, it also runs the browser sidecar as a second user service, `holaclaw-browser`. Install Chromium and Xvfb first.

### Start at boot

A user service starts at boot only once you linger, which on Debian only root may allow:

```sh
sudo loginctl enable-linger <your user>
```

### Day to day

- **Edit the config**: edit the files in `~/.config/holaclaw` directly, then `systemctl --user restart holaclaw`.
- **Logs**: `journalctl --user -u holaclaw`.
- **Upgrade**: install the new binary over `~/.local/bin/holaclaw`, then restart the same way and run `holaclaw config migrate`.

## By hand, in a terminal

For a quick try with no service at all, run the daemon in a terminal.

### Step 1: Put the binary on your PATH

Download and verify the binary as in [Install on Debian and Ubuntu](/docs/server/debian#step-1-download-and-verify-the-release), then:

```sh
install -Dm755 "holaclaw-linux-$arch" ~/.local/bin/holaclaw
export PATH="$HOME/.local/bin:$PATH"
```

Debian adds `~/.local/bin` to your `PATH` at login only once the directory exists, so add it by hand the first time.

### Step 2: Initialise

```sh
holaclaw init --provider openrouter --token-file ~/.config/holaclaw/token
```

Any provider works the same way, with its own flags. See [Providers and models](/docs/server/providers-and-models).

### Step 3: Run the daemon and chat

```sh
holaclaw check --offline
holaclaw run
holaclaw chat                               # in a second terminal
```

`holaclaw chat` also works with no daemon running, but the ChatGPT sign-in needs the daemon.

## Where things are

As a user other than root, on a machine with no `/etc/holaclaw`:

| | Path |
| --- | --- |
| Config directory | `$XDG_CONFIG_HOME/holaclaw` (`~/.config/holaclaw`) |
| Secrets directory | `~/.config/holaclaw/secrets` |
| Data directory | `~/.config/holaclaw/data` |
| Control socket | `$XDG_RUNTIME_DIR/holaclaw.sock` |

**With a system install on the same machine**, the defaults are the system install's. Set `HOLACLAW_CONFIG=~/.config/holaclaw` in every terminal, and set the socket in the `[server]` table of your `config.toml`, written out in full, since TOML does not expand variables:

```toml
[server]
socket = "/run/user/1000/holaclaw.sock"
```

## Related

- [Your first chat](/docs/server/first-chat)
- [The browser](/docs/server/browser#as-your-own-user)
- [Choose a deployment](/docs/server/choose-a-deployment)

