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.
Building from source requires you have
go installed and it modifies /usr/local/bin/ which requires sudo permissions. If you encounter an issue with building from source, then try running with sudo as shown below in installation script failsManual 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
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 create your first VM.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