Skip to main content

Getting Started

This guide covers installation and running your first HYPR VM.

Installation

One-Line Install

This installer:
  1. Detects your platform (Linux or macOS) and architecture
  2. Downloads hypr (CLI) and hyprd (daemon) binaries
  3. Installs platform-specific dependencies
  4. Configures the daemon as a system service

Manual Installation

Download binaries from the releases page:
Make executable and move to PATH:

Requirements

Linux

  • Kernel 5.10+ with KVM enabled
  • squashfs-tools for image building:
  • virtiofsd for shared filesystem support (installed automatically)

macOS

  • macOS 14 (Sonoma) or later for full GPU support
  • Homebrew for dependency installation
  • libkrun-efi library: brew tap slp/krunkit && brew install libkrun-efi
  • squashfs for image building: brew install squashfs

Starting the Daemon

The installer configures the daemon to start automatically. To manage it manually: Linux (systemd):
macOS (launchd):

Verify Installation

Check daemon health:
Expected output:

Running Your First VM

Pull and run an nginx container as a VM:
This:
  1. Pulls the nginx:latest image from Docker Hub
  2. Converts it to a squashfs rootfs
  3. Boots a microVM with the image
  4. Maps host port 8080 to guest port 80
Access nginx at http://localhost:8080.

Listing VMs

Output:

Stopping and Removing VMs

Stop a running VM:
Remove a stopped VM:
Force remove a running VM:

Executing Commands

Run a command in a running VM:
Open an interactive shell:

Viewing Logs

View all logs:
Follow logs in real-time:

Building Images

Build from a Dockerfile:
See Building Images for details.

Deploying Stacks

Deploy a multi-service application from a compose file:
See Compose Stacks for details.

Managing Volumes

Create persistent storage:
See Volumes for details.

Managing Networks

Create custom networks:
See Networking for details.

Next Steps