Install and cli-update
Official installers are the only supported installation method. Release artifacts are public, but manual binary download is not an officially supported installation path. v0.5 binaries are unsigned. Installers and cli-update verify SHA-256 before replacing a binary.
GitHub Actions rebuilds every release target from the tagged source, writes checksums and releases/latest.json, and publishes only after tests, installer smoke, and workerd endpoint checks pass. Pipeline-proof binaries from earlier CI are not reused. Upload uses repository secrets R2_ACCOUNT_ID, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, and R2_BUCKET. Worker auth and billing vars are not set in GitHub Actions. See hosted.md.
There is no daemon. Corotum does not install a background service and does not remotely force devices to sync.
macOS and Linux
Section titled “macOS and Linux”curl -fsSL https://corotum.com/install.sh | shDefault location: ~/.local/bin/corotum. The installer is per-user and does not require sudo. It appends that directory to PATH in the user shell startup files when it is not already present.
Supported targets: darwin-arm64, darwin-x64, linux-arm64, linux-x64.
Windows
Section titled “Windows”irm https://corotum.com/install.ps1 | iexDefault location: %LOCALAPPDATA%\ToolMirror\bin\corotum.exe. The installer is per-user and does not require Administrator. It adds that directory to the user Path when it is not already present.
Windows arm64 is not supported in v0.5.
What the installer does
Section titled “What the installer does”- Reads
https://releases.corotum.com/releases/latest.json. - Downloads
checksums.txtand the matchingcorotum-<os>-<arch>.tar.gz. - Verifies the archive SHA-256.
- Runs
--versionon the staged binary. - Replaces the previous binary only after those checks succeed.
- Prints that v0.5 binaries are unsigned.
Installer overrides (optional):
| Variable | Purpose |
|---|---|
COROTUM_RELEASE_BASE | Alternate release origin. Default https://releases.corotum.com |
COROTUM_BIN_DIR | Unix install directory. Default ~/.local/bin |
COROTUM_OS / COROTUM_ARCH | Test overrides. Do not use these to install an unsupported target |
Update the CLI
Section titled “Update the CLI”corotum cli-update --checkcorotum cli-updatecli-update --check reports UP_TO_DATE or AVAILABLE without modifying the executable.
corotum cli-update downloads latest.json, verifies SHA-256, and then:
- macOS/Linux: replaces the current executable after the checksum matches.
- Windows: stages a pending update and applies it on a later start. If apply fails, the previous working executable is kept and the error is reported.
Another mutating Corotum process blocks replacement. --check does not replace the binary.
COROTUM_RELEASE_BASE selects the release origin for cli-update as well.
Verify
Section titled “Verify”corotum --versioncorotum --help