CLI Reference

QB-REF-001 Rev 1.0

Complete reference for the quantabox command. For a task-oriented introduction, see the Command-Line Interface chapter of the manual.

Synopsis #

quantabox <command> [arguments] [options]
quantabox --help
quantabox --version

VMs may be referenced by name (case-insensitive) or ID. Commands return exit code 0 on success and non-zero on failure. Set RUST_LOG (e.g. RUST_LOG=info) for more verbose logging.

list #

List all virtual machines.

quantabox list

Prints a table: ID (short), Name, CPUs, Memory, Disk, State, and Encrypted.

create #

Create a new virtual machine.

quantabox create <NAME> --os <OS_TYPE> [--cpus N] [--memory MB] [--disk GB] [--encrypted]
Argument / OptionTypeDefaultDescription
<NAME>string--VM name (required).
--os <OS_TYPE>string--OS type (required), e.g. ubuntu-2404-desktop, fedora-40, debian-12, kali-linux, arch, windows11.
--cpus <N>u322vCPU cores.
--memory <MB>u644096RAM in megabytes.
--disk <GB>u6425Disk size in gigabytes.
--encryptedflagoffEnable PQC disk encryption (ML-KEM-768 + AES-256-GCM).

Examples

quantabox create my-ubuntu --os ubuntu-2404-desktop
quantabox create work --os fedora-40 --cpus 4 --memory 8192 --disk 50
quantabox create secure --os windows11 --encrypted
Note: OS presets may supply tuned CPU/memory/disk defaults; pass explicit flags to override.

start / stop / pause / resume #

Control a VM's lifecycle.

quantabox start  <NAME_OR_ID>
quantabox stop   <NAME_OR_ID> [--force]
quantabox pause  <NAME_OR_ID>
quantabox resume <NAME_OR_ID>
OptionApplies toDescription
--forcestopForce-kill instead of graceful shutdown.

info #

Show a VM's configuration and state.

quantabox info <NAME_OR_ID>

Displays name, ID, state, OS, CPUs, memory, disks (path/size/format), encryption, network adapters, USB, and shared folders.

clone #

Clone a VM (configuration and disks) under a new name.

quantabox clone <SOURCE> --name <NEW_NAME>
Argument / OptionDescription
<SOURCE>Source VM name or ID.
--name <NEW_NAME>Name for the clone (required).

delete #

Delete a VM.

quantabox delete <NAME_OR_ID> [--delete-disks]
OptionDescription
--delete-disksAlso remove the VM's disk images.
Warning: Deletion is irreversible. Export or snapshot first if you may need the VM again.

snapshot #

Manage VM disk snapshots (QCOW2/QVD disks only).

quantabox snapshot create  <VM> <NAME>
quantabox snapshot list    <VM>
quantabox snapshot restore <VM> <NAME>
quantabox snapshot delete  <VM> <NAME>
SubcommandDescription
createCreate a snapshot named <NAME>.
listList snapshots (tag, size, date/time).
restoreRoll the disk back to <NAME> (current changes are lost).
deleteRemove snapshot <NAME>.

iso #

Browse and download OS images from the built-in catalog.

quantabox iso browse [--category <CATEGORY>]
quantabox iso search <QUERY>
quantabox iso download <ID>
quantabox iso list
SubcommandArgument / OptionDescription
browse--category <CATEGORY>List the catalog; optionally filter by desktop, server, security, developer, or minimal.
search<QUERY>Search by name, description, or tag.
download<ID>Download an image by its catalog ID.
list--List already-downloaded ISOs.

package #

Export and import VM packages.

quantabox package export <VM> <OUTPUT> [--encrypted]
quantabox package import <PATH>
SubcommandArgument / OptionDescription
export<VM> <OUTPUT>Export a VM to a package file (config.json + disks).
export--encryptedEncrypt the package with post-quantum encryption.
import<PATH>Import a package; the VM gets a new ID and folder.

status #

Show system and engine information.

quantabox status

Reports: QuantaBox version, detected hypervisor backend, platform and architecture, the encryption suite (ML-KEM-768 + AES-256-GCM), data directory, VM counts, and the detected QEMU version (or not found).

Global Options #

OptionDescription
--helpShow help for the command.
--versionShow the QuantaBox version.

Environment #

VariableEffect
RUST_LOGSets log verbosity (e.g. error, warn, info, debug).

Data Directory #

PlatformDefault
Windows%LOCALAPPDATA%\QuantaBox
Linux~/.local/share/quantabox
macOS~/Library/Application Support/QuantaBox

VMs created with the CLI are visible in the desktop app and vice versa.