CLI Reference
Complete reference for allhypr commands.
Global Options
The CLI respects theRUST_LOG environment variable for log levels:
Commands Overview
VM Commands
hypr run
Run a VM from an image.<image>- Image name (e.g.,nginx,redis:7,ghcr.io/org/repo:tag)
Examples:
hypr ps
List all VMs.ID- VM identifier (first 12 characters)NAME- VM nameIMAGE- Source imageSTATUS- Current state (creating, running, stopped, failed)IP- Assigned IP addressPORTS- Port mappings
hypr start
Start a stopped VM.<vm>- VM ID or name
hypr stop
Stop a running VM.<vm>- VM ID or name
hypr rm
Delete a VM.<vm>- VM ID or name
hypr logs
Stream logs from a VM.<vm>- VM ID or name
Examples:
hypr exec
Execute a command in a running VM.<vm>- VM ID or name<command>- Command to execute (defaults to/bin/sh)
Examples:
Image Commands
hypr build
Build an image from a Dockerfile.[path]- Build context directory (default:.)
Examples:
hypr images
List local images.NAME- Image nameTAG- Image tagID- Image identifierSIZE- Image sizeCREATED- Creation time
hypr pull
Pull an image from a registry.<image>- Image reference (e.g.,nginx,nginx:1.25,ghcr.io/org/repo:tag)
- Docker Hub:
nginx,library/nginx,user/repo - GitHub Container Registry:
ghcr.io/org/repo:tag - Google Container Registry:
gcr.io/project/image:tag - Quay.io:
quay.io/org/repo:tag - Any OCI-compliant registry
hypr rmi
Remove an image.<image>- Image name or ID
hypr image
Image management subcommands.hypr image ls
List images (same ashypr images).
hypr image pull
Pull an image (same ashypr pull).
hypr image rm
Remove an image (same ashypr rmi).
hypr image inspect
Display detailed information on an image.<image>- Image name or ID
hypr image prune
Remove unused images.Volume Commands
hypr volume ls
List all volumes.DRIVER- Volume driver (currentlylocal)VOLUME NAME- Volume name
hypr volume create
Create a new volume.<name>- Volume name
hypr volume rm
Remove a volume.<name>- Volume name
hypr volume inspect
Display detailed information on a volume.<name>- Volume name
hypr volume prune
Remove all unused volumes.Network Commands
hypr network ls
List all networks.NETWORK ID- Network identifier (first 12 characters)NAME- Network nameDRIVER- Network driverSCOPE- Network scope (alwayslocal)
hypr network create
Create a new network.<name>- Network name
Examples:
hypr network rm
Remove a network.<name>- Network name
hypr network inspect
Display detailed information on a network.<name>- Network name
hypr network prune
Remove all unused networks.Compose Commands
Manage multi-service stacks. See Compose Stacks for details.hypr compose up
Deploy a stack from a compose file.
Compose file search order:
hypr-compose.yml,hypr-compose.yamlHyprfile,Hyprfile.yml,Hyprfile.yamldocker-compose.yml,docker-compose.yamlcompose.yml,compose.yaml
hypr compose down
Destroy a stack.<stack-name>- Name of the stack to destroy
hypr compose ps
List stacks or show stack details.[stack-name]- Optional: show details for specific stack
hypr compose logs
Show logs for a service.<service-name>- Name of the service
GPU Commands
hypr gpu list
List available GPUs on the system.System Commands
hypr system df
Show disk usage information.hypr system prune
Remove unused resources.
Resources cleaned:
- Dangling images (not referenced by any VM)
- Build cache
- Orphaned log files
- Linux: orphaned TAP devices, orphaned VFIO bindings