Quickstart
From a bare Linux machine or Mac to coders working on your first project. Everything runs on your own hardware with your own Claude login, and no huskies.dev account is needed. It takes one install command, then huskies setup, and Claude guides you through the rest.
Before you start
- A Debian or Ubuntu machine, or a Mac with Homebrew.
- A Claude account. Claude Code itself can be installed during step 1.
- An account on GitHub, or on a Gitea server you run, where your project's repository will live.
1. Install huskies
On the machine that will run your gateway, run:
curl -fsSL https://huskies.dev/install.sh | sh
The script asks for your password when it needs sudo. It:
- adds the huskies apt source (Debian/Ubuntu) or Homebrew tap (macOS) and installs huskies from it, so later upgrades come through your normal package manager;
- runs
huskies org init, which creates this machine's gateway: it generates the gateway's identity, installs and starts the gateway as a system service, and joins this machine to it as the org's first host; - checks that Claude Code is installed, and prints the command to install it if not.
It does not install Docker and does not need a huskies.dev account. It finishes with:
Next: huskies setup
huskies-org systemd unit; on macOS it is a LaunchDaemon. Both start again on their own after a reboot. If you do want your gateway reachable through huskies.dev later, huskies org init --service-url https://huskies.dev links it; the self-hosted setup does not need this.
2. Run huskies setup
huskies setup
huskies setup connects Claude Code to your gateway and starts Claude with a setup prompt. Claude reads what your gateway still needs and walks you through it, one step at a time:
-
Docker. Your projects run in containers on your hosts. If Docker is missing, Claude tells you how to install it on this machine.
-
A Claude login for the coders. The coding agents use your own Claude subscription. Claude shows you how to sign it in for them.
-
Your forge. Connect GitHub, or your own Gitea server, from your gateway's Connect page. The page explains the OAuth app it asks you to create and what to paste back.
-
Your first project. Create a new, empty repository on your forge and give Claude its URL. Huskies starts the project on your host and gives you the link to its board.
The gateway's own front page shows the same steps as a checklist, so you can see at a glance what is done and what is left.
3. Give it work
Open your project's board, or talk to Claude, and describe a change, for example:
I want to add a health check endpoint to the API
Huskies turns it into a story with acceptance criteria. Once it starts, a coder works on it in its own worktree, the quality gates run, and the merge agent lands it on your main branch. See Pipeline stages for what happens at each step.
4. Add another machine
Coders run on every host in your org, so adding a spare machine adds capacity. First get a one-time join token: ask Claude for one, or say hosts token in chat. Then install huskies on the new machine with apt or Homebrew (see Download) and run:
sudo huskies host join ORG_NODE_URL JOIN_TOKEN
ORG_NODE_URL is the address of your gateway, for example http://<org-node-host>:3001. The command joins the machine to your org and prints:
Joined http://<org-node-host>:3001 as this host; identity <pubkey>.
It also installs and starts the host service itself, on macOS and Linux alike, so there is nothing else to run.
The new machine shows up in hosts in chat within a minute.
Upgrading
Upgrade huskies the way you installed it. On Debian/Ubuntu:
sudo apt-get update
sudo apt-get install --only-upgrade huskies
On a Mac, brew upgrade huskies. The gateway and host services pick up the new binary themselves.