Install the command line

Install cihub, the command line of CIHub, on Linux or macOS, to drive the queues of an instance from a terminal or a CI.

cihub is one binary. It signs in to an instance (cihub auth login) and drives its queues (cihub queue …).

From the release after 0.2.1

Each release attaches the binaries below from the next release of CIHub. Until then, build cihub with Cargo, as in the last tab.

curl -fsSL https://github.com/getcihub/cihub/releases/latest/download/cihub-x86_64-unknown-linux-musl.tar.gz | tar -xz
sudo install cihub /usr/local/bin/

Check it:

cihub --version

The Linux binaries are static: they run on any distribution. Each archive has its SHA-256 checksum next to it on the page of the release, cihub-<target>.tar.gz.sha256.

Next

On this page

For agentsThis page as Markdown:/docs/install/cli.md