Install Hive
Install Hive on macOS, Linux, or Windows, build it from source, and start your first session.
Hive is a terminal workspace for running persistent agent sessions. Install a release for the quickest setup, or build the CLI from source if you want to work on Hive itself.
Requirements
| Install method | Requirements |
|---|---|
| Release installer (macOS, Linux) | macOS 13+ or Linux, a terminal, and curl |
| Release installer (Windows) | Windows 10 1809+ or Windows 11 (amd64) and PowerShell |
| Build from source | macOS, Linux, or Windows, Git, and Go 1.26 or later |
Hive is a terminal application, so it works with your usual terminal emulator. Truecolor provides the richest colors; 256-color terminals and NO_COLOR are also supported.
Install a release
On macOS or Linux, the install script downloads and installs the current Hive release:
curl -fsSL https://hive.admir-saheta.com/install.sh | shThe command uses the installer served by this site, which in turn fetches the install script from the Hive repository. If the hive command is not found after installation, open a new terminal and check that the install location is on your PATH.
The installer places Hive in ~/.local/bin by default. Set HIVE_INSTALL_DIR to choose another directory, HIVE_CHANNEL=preview to install release candidates, or HIVE_VERSION to select a release tag. Other options include Homebrew, Nix, and go install; see the repository README for the current commands.
Windows
On Windows 10 1809 or later (amd64), run this in PowerShell:
irm https://hive.admir-saheta.com/install.ps1 | iexThe installer verifies the release checksum, installs hive.exe in %LOCALAPPDATA%\Programs\Hive, and adds it to your user PATH. Agents run in Windows pseudo consoles (ConPTY). See Platforms and Windows for the support matrix, where Hive keeps its files, and what differs on Windows.
To inspect the available commands, run:
hive --helpBuild from source
Building from source is useful when contributing to Hive or when you want to run the code in a local checkout. Clone the repository and build the CLI:
git clone https://github.com/admirable-oss/hive.gitcd hivemake buildIf you prefer to use Go directly, build the command package:
go build -o hive ./cmd/hiveThe resulting hive executable is in the repository directory. Prefix commands with ./ to run that local build, or move it to a directory on your PATH to run it as hive from anywhere.
Start Hive
Hive starts its daemon automatically when a command needs it. To open the multiplexer, run:
hiveIf you built from source in the repository directory, use ./hive instead.
To try Hive with four demo agents, run hive demo first, then open the workspace:
hive demohiveIn the multiplexer, use Ctrl+B followed by D to detach. Detaching leaves the agents running, so you can return later by running hive again. To stop the runtime and all agents it manages, run:
hive stopFor a guided tour of panes, tabs, and the other keybindings, continue to Quick Start.
Start the daemon at login (optional)
You can install Hive’s daemon as a user service so it starts when you log in and restarts if it exits. Hive uses launchd on macOS, a systemd user service on Linux, and a Task Scheduler task on Windows:
hive daemon installThe daemon is optional. Without a service, Hive starts it on demand when you run a command that needs it.
Update and roll back
hive update downloads the next release, verifies its checksum and signature, checks that it runs, and swaps it in. Running daemons restart on the new binary while agents keep running under their shims. If a release misbehaves, hive update --rollback restores the previous binary:
hive update --checkhive updatehive update --rollbackNext steps
- Quick Start — launch demo agents and learn the multiplexer.
- Core concepts — understand Hive’s daemon, clients, and agent shims.
- Platforms and Windows — support matrix and platform differences.
- Configuration — customize your workspace and keybindings.
- Hive on GitHub — browse the source and releases.