What You’ll Accomplish
- Install the Vers CLI
- Set up authentication
- Create your first project
- Launch a virtual machine
- Experience the power of VM branching
Step 1: Install the CLI
Install the latest version of the Vers CLI with a single command:The installer detects your platform and places the binary at
/usr/local/bin/vers. You may be prompted for admin privileges.Step 2: Authentication
Log In to Vers
Alternatively, if you want to create a vers account with your github email from CLI:
- Sends a verification email to that address
- You click the link in the email (10 min verification window)
- You pick an org if you belong to multiple
- CLI auto-creates an API key labeled
vers-cli-<hostname>and saves it in~/.versrc
Verify Authentication
Step 3: Your First Project
Create a Project Directory
Initialize the Project
vers.toml- Configuration file specifying VM resources and environment.vers/- Local repository for managing VM states and branches
Understanding vers.toml
The generated configuration looks like this:Step 4: Launch Your First VM
Start the Environment
- Creates a new environment
- Launches the root VM with the specified configuration
- Sets your HEAD to the new VM
Check the Status
Step 5: Connect to Your VM
SSH Into the VM
- Manages SSH keys
- Connects you to the running VM
- Drops you into a terminal session
Step 6: Experience VM Branching
This is where Vers gets powerful. Instead of starting over, you can branch your VM state.Create a Branch
- All installed software
- Your files (
test.txtis still there) - Running processes
- Memory state
Switch Between Branches
Compare States
Step 7: Clean Up (Optional)
Stop Your Environment
What’s Next?
Now that you understand the basics, explore these resources:Common Patterns
Development Workflow:Key Commands Reference
| Command | Purpose |
|---|---|
vers init | Initialize a new project |
vers run | Start a development environment |
vers connect | SSH into current VM |
vers branch --alias <name> | Create a new VM branch |
vers checkout <vm> | Switch to a different VM |
vers status | Show VM status |
vers kill | Delete VMs |
Troubleshooting
”Command not found: vers”
The binary isn’t in your PATH. Either:- Move it to
/usr/local/bin/(macOS/Linux) - Add its location to your PATH environment variable
- Run it with the full path:
./vers-macos-arm64 --version
”Authentication failed"
"No VMs found”
You haven’t created any VMs yet:VM won’t start
Check your configuration invers.toml. The default settings work for most systems, but you might need to adjust memory allocation on resource-constrained machines.
What’s next
Agent swarms
Fork one golden VM into parallel agents. Full-stack app in ~60 seconds.
Parallel web testing
Navigate to a form once, branch to test every input path in parallel.
Database state testing
Snapshot a seeded DB, branch per migration, compare outcomes.
Architecture
How branching and commits work under the hood.
Support
- Email — support@vers.sh for technical issues
- GitHub — github.com/hdresearch for issues and source