vers deploy creates a VM for a GitHub repository: it clones the repo, installs dependencies, builds, and runs the project, all in one call. The deploy runs asynchronously — the command returns immediately with the project and VM IDs so you can follow up with vers status, vers connect, or vers info.
Synopsis
Prerequisites
- The Vers GitHub App must be installed on the repository’s organization.
- Your API key’s organization must match the GitHub App installation.
Options
Examples
Deploy the default branch
Deploy a specific branch with explicit commands
Deploy from a monorepo
Wait for the VM and parse the response
How it works
1
Repository lookup
The orchestrator resolves
<owner/repo> via the Vers GitHub App installation attached to your organization.2
VM provisioning
A fresh root VM is created and returned immediately.
3
Clone + install + build + run
The orchestrator clones the repo, runs
--install, --build, and --run in sequence, respecting --working-dir.4
Follow-up
Use
vers status <vm-id> to watch state, vers connect <vm-id> to SSH in, or vers info <vm-id> for networking details.Common Patterns
Deploy a monorepo subproject
Async deploy, then tail logs
Deploy returns immediately with a VM id; watch the boot from a second command:Deploy a specific branch for a hotfix
See also
- vers run — start a VM from your local
vers.toml - vers build — build a commit from a Dockerfile
- vers repo — manage Vers repositories (different concept: groups of commits)