Skip to main content

Install

The fastest way to install. It detects your OS, installs Node if needed, installs Velaclaw, and launches onboarding.
To install without running onboarding:
For all flags and CI/automation options, see Installer internals.

System requirements

  • Node 24 (recommended) or Node 22.14+ — the installer script handles this automatically
  • macOS, Linux, or Windows — both native Windows and WSL2 are supported; WSL2 is more stable. See Windows.
  • pnpm is only needed if you build from source

Alternative install methods

Local prefix installer (install-cli.sh)

Use this when you want Velaclaw and Node kept under a local prefix such as ~/.velaclaw, without depending on a system-wide Node install:
It supports npm installs by default, plus git-checkout installs under the same prefix flow. Full reference: Installer internals.

npm, pnpm, or bun

If you already manage Node yourself:
If sharp fails due to a globally installed libvips:

From source

For contributors or anyone who wants to run from a local checkout:
Or skip the link and use pnpm velaclaw ... from inside the repo. See Setup for full development workflows.

Install from GitHub main

To keep tracking the public main branch later:

Containers and package managers

Docker

Containerized or headless deployments.

Podman

Rootless container alternative to Docker.

Nix

Declarative install via Nix flake.

Ansible

Automated fleet provisioning.

Bun

CLI-only usage via the Bun runtime.

Verify the install

If you want managed startup after install:
  • macOS: LaunchAgent via velaclaw onboard --install-daemon or velaclaw gateway install
  • Linux/WSL2: systemd user service via the same commands
  • Native Windows: Scheduled Task first, with a per-user Startup-folder login item fallback if task creation is denied

Hosting and deployment

Deploy Velaclaw on a cloud server or VPS:

VPS

Any Linux VPS

Docker VM

Shared Docker steps

Kubernetes

K8s

Fly.io

Fly.io

Hetzner

Hetzner

GCP

Google Cloud

Azure

Azure

Railway

Railway

Render

Render

Northflank

Northflank

Update, migrate, or uninstall

Updating

Keep Velaclaw up to date.

Migrating

Move to a new machine.

Uninstall

Remove Velaclaw completely.

Troubleshooting: velaclaw not found

If the install succeeded but velaclaw is not found in your terminal:
If $(npm prefix -g)/bin is not in your $PATH, add it to your shell startup file (~/.zshrc or ~/.bashrc):
Then open a new terminal. See Node setup for more details.