Download huskies

Install with apt, Homebrew, or grab a binary straight off the latest release (…).

apt (Debian/Ubuntu)

sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://code.crashlabs.io/api/packages/crashlabs/debian/repository.key \
  | sudo gpg --dearmor --yes -o /etc/apt/keyrings/gitea-crashlabs.gpg
echo "deb [arch=amd64,arm64 signed-by=/etc/apt/keyrings/gitea-crashlabs.gpg] https://code.crashlabs.io/api/packages/crashlabs/debian stable main" \
  | sudo tee /etc/apt/sources.list.d/huskies.list
sudo apt-get update
sudo apt-get install huskies

This installs /usr/bin/huskies, root-owned. Add the origin to unattended-upgrades' allow-list so the host stays current without any manual apt upgrade:

# /etc/apt/apt.conf.d/51unattended-upgrades-huskies
Unattended-Upgrade::Origins-Pattern {
  "origin=code.crashlabs.io";
};

Homebrew

brew tap crashlabs/huskies https://code.crashlabs.io/crashlabs/homebrew-huskies
brew trust crashlabs/huskies
brew install huskies

Binary

Download the artifact for your platform from the releases page — huskies-macos-arm64, huskies-linux-amd64, or huskies-linux-arm64 — then make it executable and put it on your $PATH:

curl -Lo huskies https://code.crashlabs.io/crashlabs/huskies/releases/download/<tag>/huskies-linux-amd64
chmod +x huskies
sudo mv huskies /usr/local/bin/

Replace <tag> with the release you want; the table below lists the latest release's binaries with their checksums. A binary installed this way does not upgrade itself — prefer apt or Homebrew.

Loading the latest release from Gitea…

First machine

On the first machine, one command does the install and brings up your gateway:

curl -fsSL https://huskies.dev/install.sh | sh

It installs huskies through apt or Homebrew as above, then runs huskies org init, which starts this machine's gateway as a service and joins the machine to it as the org's first host. It also checks that Claude Code is installed and prints its install command if not. It never installs Docker, and no huskies.dev account is needed. It finishes with:

Next: huskies setup

Run that and Claude takes it from there:

huskies setup

huskies setup connects Claude Code to your gateway and starts Claude with a setup prompt. Claude checks what is still missing (Docker, a Claude login for the coders, your forge, a first project) and walks you through each step, one at a time.

Next machine

Ask Claude for a one-time join token for your gateway, or say hosts token in chat. Install huskies on the new machine with apt or Homebrew as above, then run:

sudo huskies host join http://<org-node-host>:3001 <TOKEN>

It joins the machine to your gateway. Visible success:

Joined http://<org-node-host>:3001 as this host; identity <pubkey>.

It also installs and starts the host service itself (a LaunchDaemon on a Mac, the huskies-host systemd unit on Linux), so there is nothing else to start.

Upgrading

Upgrade through the package manager you installed with — sudo apt-get install --only-upgrade huskies (or unattended-upgrades, as above) on Debian/Ubuntu, brew upgrade huskies on a Mac. The gateway and host services pick up the new binary themselves.