Prerequisites
- Operating System: Linux or macOS
- SSH Client: Required for connecting to VMs (usually pre-installed)
- Terminal Access: Command-line interface
Install the CLI
Quick Install (Recommended)
Install the latest version of Vers CLI with a single command:This script automatically detects your platform and downloads the appropriate binary to
/usr/local/bin/vers. You may need administrative privileges for the installation.Build from Source
If you prefer to build from source:/usr/local/bin/vers.
Manual Download
Download the binary directly from vers.sh/beta and place it in your PATH.Verify Installation
Check that Vers is properly installed:v0.5.1.
Authentication
Get Your API Key
- Go to vers.sh and log in
- Subscribe to a plan for your organization (if you haven’t already)
- Navigate to API Keys in your organization settings
- Use the org switcher in the top left to select your organization
- Create a new API key and copy it
Log In
~/.versrc.
You only need to log in once per machine. To see your current API key:
cat ~/.versrcLegacy Installation Cleanup
If you previously had a development version of Vers installed and want to switch to the production version:Check Your Current Version
dev instead of a version number like v0.5.1, follow these steps:
Remove the Dev Version
Verify the Switch
Re-authenticate
Next Steps
With Vers installed and authenticated, you’re ready to:- Learn the core concepts
- Follow the quickstart guide
- Explore VM access and SSH
Troubleshooting
Command not found
Make sure/usr/local/bin is in your $PATH:
~/.bashrc, ~/.zshrc, etc.):
Authentication issues
- Verify your API key is correct
- Check that you have an active subscription at vers.sh
- Try logging out and back in:
vers logout && vers login