Two small bits of ergonomics, but they show up everywhere. HEAD is the default target for most commands. Aliases are human-readable names you can use anywhere an id works.Documentation Index
Fetch the complete documentation index at: https://docs.vers.sh/llms.txt
Use this file to discover all available pages before exploring further.
HEAD
HEAD is a pointer to “the VM I’m working on right now.” Most commands default to HEAD when you don’t pass a VM id:| Command | Default |
|---|---|
vers connect | Connect to HEAD |
vers execute | Run on HEAD |
vers commit | Commit HEAD |
vers branch | Branch from HEAD |
vers pause / vers resume | Pause/resume HEAD |
vers copy | Transfer to/from HEAD |
vers kill | Delete HEAD |
When HEAD moves
HEAD moves automatically when you:- run
vers run→ now points at the new root - run
vers branch→ now points at the new child - run
vers run-commit→ points at the new VM - run
vers checkout <vm>→ explicit move - delete the VM HEAD points at → HEAD is cleared
Inspecting HEAD
Where HEAD lives
.vers/HEAD inside your project directory. If you cd into a different project, you get a different HEAD. That’s the whole story — it’s literally a one-line file.
Aliases
Aliases are human-readable names for VM ids, stored locally. They make the difference between:Creating aliases
When you create a VM:Using aliases
Aliases work anywhere a VM id works:Inspecting aliases
Where they live
~/.vers/aliases.json — a plain JSON map:
How HEAD and aliases work together
This is the ergonomics loop Vers wants you to fall into:See also
- VMs — what HEAD and aliases point at
- vers checkout, vers alias, vers head
- vers status — HEAD at a glance