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.
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
| Option | Description |
|---|---|
--name | Project name (defaults to the repository name) |
--branch | Git branch to deploy (defaults to the repo’s default branch) |
--install | Install command (e.g. npm install, pip install -r requirements.txt) |
--build | Build command (e.g. npm run build) |
--run | Run command (e.g. npm start) |
--working-dir | Working directory relative to the repo root (useful for monorepos) |
--wait | Block until the VM reports Running before returning |
--format json | Machine-readable output |
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
Repository lookup
The orchestrator resolves
<owner/repo> via the Vers GitHub App installation attached to your organization.Clone + install + build + run
The orchestrator clones the repo, runs
--install, --build, and --run in sequence, respecting --working-dir.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)