vers run
Start a Vers development environment according to the configuration in vers.toml.Usage
Options
| Option | Description |
|---|---|
--mem-size | Override memory size (MiB) |
--vcpu-count | Override number of virtual CPUs |
--rootfs | Override rootfs name |
--kernel | Override kernel name |
--fs-size-cluster | Override cluster filesystem size (MiB) |
--fs-size-vm | Override VM filesystem size (MiB) |
--size-cluster | Override total cluster size (MiB) |
--cluster-alias, -n | Set an alias for the cluster |
--vm-alias, -N | Set an alias for the root VM |
Examples
Start with default configuration
Override resource settings
Use custom aliases
Override images and storage
How it works
Therun command:
- Loads configuration: Reads settings from
vers.toml - Applies overrides: Uses command-line flags to override configuration values
- Creates cluster: Makes API call to create a new cluster with the specified settings
- Updates HEAD: Sets your local HEAD to point to the new root VM
- Confirms success: Shows cluster ID and root VM information
Configuration integration
The command respects yourvers.toml configuration:
What gets created
- New cluster: Fresh cluster with your specified configuration
- Root VM: The primary VM in the cluster with your settings
- Local HEAD: Updated to point to the new root VM
Error handling
Missing configuration
vers init first to create configuration.
Invalid settings
Rootfs not found
No .vers directory
vers init in your project directory.
Use cases
Quick development startup
Resource experimentation
Custom environment testing
Team environment setup
Prerequisites
- Project initialized with
vers init - Valid
vers.tomlconfiguration file - Authenticated with Vers platform
- Network connectivity
- Sufficient resources for cluster creation
See Also
- vers init - Initialize project configuration
- vers up - Alternative startup command
- vers rootfs - Manage available rootfs images