Requirements
The initial release supports Linux and macOS on x86-64 and ARM64. Windows is not yet a release target. The installer requirescurl plus either
sha256sum or shasum on your PATH.
Install the CLI
/usr/local/bin/vers.
If /usr/local/bin is not writable, install to a directory you own:
PATH, then verify the binary:
-prerelease suffix. SemVer
build metadata (+...) is intentionally not a public release identity.
Manual download
Immutable versioned artifacts live athttps://releases.vers.sh/cli/v<version>/:
Download the matching binary and adjacent
.sha256 file, verify the checksum,
make the binary executable, and move it onto your PATH. The adjacent checksum
detects download corruption; it is not an independent signature.
Authentication
Get a key from the Vers dashboard. The CLI supports two local configuration channels.Environment variable
SetVERS_API_KEY through your shell’s secret manager, CI secret store, or
process environment. Avoid putting the literal key in a committed file or a
command that will remain in shell history.
Configuration file
Alternatively, create~/.versrc as JSON and restrict its permissions:
~/.versrc. The optional
VERS_ORCHESTRATOR_URL environment variable overrides the default
https://api.vers.sh; orchestratorUrl in ~/.versrc is the lower-precedence
equivalent. Remote control-plane URLs must use HTTPS. Plain HTTP is accepted
only for localhost or a numeric loopback address during local development,
because the CLI sends its bearer credential to this origin. The URL must be a
bare origin: credentials, a non-root path, query parameters, and fragments are
rejected.
Help and version commands are local and do not require configuration:
Anonymous telemetry
Anonymous command telemetry is enabled by default. Inspect the exact data and effective setting with:Updating
Check for or install the latest stable release explicitly:--version check, and atomically replaces the current
executable. It never checks for updates in the background. The executable’s
directory must be writable; otherwise, rerun the installer with the required
permissions.
The checksum detects corruption relative to the HTTPS release manifest. It is
not an independent signature or proof of publisher identity.
Troubleshooting
Command not found
Check which binary your shell resolves:Authentication failed
Create or rotate the key in the dashboard, update one supported configuration channel, and runvers whoami. There is no vers login or vers logout state
to repair.