Skip to content
المشاريع

حول

A lightweight command-line manager for virtual machines

الأنظمة والبنية التحتية

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Creates a VM instance and opens a shell in one command
  • Runs on Linux, macOS and Windows hosts with hardware acceleration
  • Forwards ports, copies files and executes commands in a VM instance
  • Supports templates, snapshots and clones of VM instances

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Cubic logo Cubic | Linux VMs in one command

github.com crates.io MSRV snapcraft.io

Cubic demo that creates and enters a VM instance

Cubic is a cross-platform tool that spins up Linux virtual machines with a single command. It is made for developers who need a clean Linux system fast.

Linux distributions come as official images and are ready to use within seconds. Cubic keeps things simple and secure by acting as lightweight glue over proven tools such as QEMU. No privileged system service is required and every VM instance runs as your normal user.

Install

See the install guide for the full instructions.

Ubuntu

sudo snap install cubic && sudo snap connect cubic:kvm

macOS

brew install cubic-vm/cubic/cubic

Windows

winget install cubic-vm.cubic

Cargo

cargo install cubic

Then create your first VM instance with cubic run -i ubuntu.

Common Commands

These are the most common commands, shown for a VM instance named demo.

Command What it does
cubic run demo -i ubuntu Create the VM instance demo, start it and open a shell
cubic run --rm -i ubuntu Run a VM instance that is deleted on exit
cubic images List the available images
cubic instances List your VM instances
cubic sh demo Open a shell in a VM instance
cubic exec demo -- uname -a Run one command in a VM instance
cubic cp notes.txt demo:~/ Copy files between host and VM instance
cubic modify demo -c 4 -m 8G Change the vCPUs and memory of a VM instance
cubic snapshot demo/clean Save the disk of a VM instance
cubic restore demo/clean Roll a VM instance back to a snapshot
cubic clone demo demo2 Copy a VM instance under a new name
cubic stop demo Stop a VM instance
cubic delete demo Delete a VM instance

Run cubic --help for the full list or read the command reference.

Features

Supported Guest Images

  • AlmaLinux
  • Alpine Linux
  • Arch Linux
  • CentOS Stream
  • Debian
  • Fedora
  • Gentoo
  • openSUSE Leap
  • openSUSE Tumbleweed
  • Rocky Linux
  • Ubuntu

Documentation

The full documentation is at cubic-vm.org/docs. The Getting Started tutorial is the best place to begin.

Contribute

Contributions are very welcome. You can help in many ways:

License

Cubic is dual-licensed under Apache and MIT.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…