Download the archive for your platform from the releases page. Each release ships macOS (Apple Silicon and Intel), Linux (x86-64 and ARM64), and Windows (x86-64) archives with shell completions, a signed SHA256SUMS file, and a Homebrew formula (voltage.rb). Extract the archive and put voltage (or voltage.exe) on your PATH.
Every archive carries a SLSA build-provenance attestation, and SHA256SUMS is signed with Sigstore (keyless; no keys to trust out of band). Before installing, verify both with the GitHub CLI and cosign:
# The archive was built by this repository's release workflow from its version tag.
gh attestation verify voltage-*.tar.gz --repo voltagecloud/voltage-cli
# The checksums were signed by that same workflow run.
cosign verify-blob SHA256SUMS --bundle SHA256SUMS.sigstore.json \
--certificate-identity-regexp 'https://github.com/voltagecloud/voltage-cli/.github/workflows/release.yml' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# The archive matches the signed checksums.
sha256sum --check SHA256SUMS --ignore-missingInstall Rust and run:
cargo install --git https://github.com/voltagecloud/voltage-cli --locked
voltage --versionFrom a clone, cargo install --path . --locked does the same, with the toolchain that rust-toolchain.toml pins. A --git install uses your default toolchain instead. No system libraries are needed.
Credentials are stored in the macOS Keychain, the Linux Secret Service (over D-Bus, with no system library required), or the Windows Credential Manager. On a headless Linux machine without an unlocked Secret Service, pass --credential-store file when you log in or import a key.
Completions come from the same definitions as the commands:
voltage completions bash > voltage.bash
voltage completions zsh > _voltage
voltage completions fish > voltage.fish
voltage completions powershell > _voltage.ps1Related: log in and use profiles.