Skip to content

Installation

The ushelf CLI deploys and operates uShelf servers and connects your agents to them. Install it on the machine where your agents run.

Terminal window
curl -fsSL https://github.com/karamouche/ushelf/releases/latest/download/install.sh | sh

The installer supports macOS and Linux on amd64 and arm64. On Windows, run it under WSL. It installs the binary into ~/.local/bin and adds that directory to your shell’s PATH when needed.

Node.js, pnpm, and a repository clone are never required for normal use.

The installer downloads over HTTPS only and checks the archive against the release’s SHA256SUMS. When the GitHub CLI is installed and signed in, it also verifies the archive’s build provenance, which proves it was built by this repository’s release workflow, and refuses to install if the check fails. Set USHELF_REQUIRE_PROVENANCE=1 to make that check mandatory:

Terminal window
curl -fsSL https://github.com/karamouche/ushelf/releases/latest/download/install.sh | USHELF_REQUIRE_PROVENANCE=1 sh

To verify a downloaded archive yourself:

Terminal window
gh attestation verify ushelf_darwin_arm64.tar.gz --repo karamouche/ushelf \
--signer-workflow karamouche/ushelf/.github/workflows/release.yml

What else you need depends on where the server will run:

Target Requirement on your machine
Local Docker Docker, running
Docker host over SSH The Docker CLI and key-based SSH access to the host
Fly.io flyctl, signed in with fly auth login
Self-hosted Nothing beyond the CLI
Terminal window
ushelf update --check
ushelf update

ushelf update verifies the release checksums against the release signing key built into the CLI, replaces the CLI, and rolls the current context forward to the matching server image. It never installs a release older than the running CLI; to downgrade on purpose, rerun the installer with USHELF_VERSION set to the version you want. See Maintenance.