Installation
The ushelf CLI deploys and operates uShelf servers and connects your agents to them. Install it on the machine where your agents run.
curl -fsSL https://github.com/karamouche/ushelf/releases/latest/download/install.sh | shThe 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.
Verifying the download
Section titled “Verifying the download”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:
curl -fsSL https://github.com/karamouche/ushelf/releases/latest/download/install.sh | USHELF_REQUIRE_PROVENANCE=1 shTo verify a downloaded archive yourself:
gh attestation verify ushelf_darwin_arm64.tar.gz --repo karamouche/ushelf \ --signer-workflow karamouche/ushelf/.github/workflows/release.ymlRequirements by deployment target
Section titled “Requirements by deployment target”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 |
Updating
Section titled “Updating”ushelf update --checkushelf updateushelf 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.