All VM commands require authentication. Run
lyceum auth login before using these commands.Commands Overview
| Command | Description |
|---|---|
lyceum vms start | Start a new VM instance |
lyceum vms list | List all your VM instances |
lyceum vms status | Get detailed status of a VM |
lyceum vms availability | Check hardware availability |
lyceum vms terminate | Terminate a VM instance |
Start VM Instance
Start a new VM with the specified configuration.Options
| Flag | Short | Description | Default |
|---|---|---|---|
--hardware-profile | -h | Hardware profile (cpu, a100, h100) | a100 |
--key | -k | SSH public key (required) | - |
--name | -n | Friendly instance name | - |
--cpu | - | CPU cores | Profile default |
--memory | - | Memory in GB | Profile default |
--disk | - | Disk size in GB | Profile default |
--gpu-count | - | Number of GPUs | Profile default |
Examples
After starting, the CLI polls for readiness (30 second intervals, up to 10 minutes) and displays the SSH command when the VM is ready.
List VM Instances
Display all your VM instances in a table format.Output Columns
| Column | Description |
|---|---|
| VM ID | Unique identifier |
| Name | Friendly name (if set) |
| Status | Current status (pending, ready, running, terminated) |
| IP Address | SSH connection address |
| Hardware Profile | cpu, a100, or h100 |
| Billed ($) | Cost incurred |
| Created At | Creation timestamp |
Example Output
Check Hardware Availability
Check which hardware profiles are currently available.Example Output
Get VM Status
Get detailed information about a specific VM.Output Fields
| Field | Description |
|---|---|
| Status | Current VM status |
| Name | Instance name |
| IP Address | SSH connection address |
| Hardware Profile | Hardware configuration |
| Billed | Total cost incurred |
| Uptime | Time since VM started |
| Instance Specs | CPU, memory, disk, GPU details |
| SSH Command | Ready-to-use SSH command |
Example
Terminate VM
Terminate a running VM instance.Options
| Flag | Short | Description |
|---|---|---|
--force | -f | Skip confirmation prompt |
Examples
SSH Access
Once your VM is ready, connect via SSH:- Standard Port
- Custom Port
Common Workflows
Start VM and run training job
Start VM and run training job
Check availability before starting
Check availability before starting
Monitor and terminate idle VMs
Monitor and terminate idle VMs
Error Handling
| Exit Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Authentication required |
| 3 | Insufficient credits |
| 4 | VM not found |
If you encounter
Insufficient credits (exit code 3), add credits via the dashboard or billing API.
