Installation¶
Get started with the Versioner CLI by downloading the binary for your platform.
Download Binary¶
Verify Installation¶
Expected output:
Authentication¶
The CLI requires a Versioner API key to authenticate requests.
Get Your API Key¶
- Log in to app.versioner.io
- Navigate to Settings → API Keys
- Click Create API Key
- Copy the key (starts with
sk_)
Set API Key¶
Option 1: Environment Variable (Recommended)
Add to your shell profile (~/.bashrc, ~/.zshrc, etc.) to persist:
Option 2: Command Line Flag
Security Note
Using --api-key as a flag exposes it in process lists and shell history. Use environment variables instead.
Quick Start¶
Track your first deployment:
# Set your API key
export VERSIONER_API_KEY="sk_mycompany_k1_..."
# Track a deployment
versioner track deployment \
--product my-service \
--version 1.0.0 \
--environment production \
--status completed
Next Steps¶
- Command Reference - Learn all available commands
- CI/CD Integration - Auto-detect metadata in CI/CD systems
- Configuration - Advanced configuration options