Quickstart Guide
Get up and running with Vers in under 10 minutes. This guide takes you from download to your first branched virtual machine.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: Download and Install
Download Vers
Visit the beta download page and download the appropriate binary for your platform.Install the CLI
macOS/Linux:Step 2: Authentication
Log In to Vers
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.
Support
- Documentation: Explore more tutorials and CLI reference
- Discord: Join our community for real-time help
- Email: [email protected] for technical issues