cubic 0.16.0

Cubic is a lightweight command line manager for virtual machines. It has a simple, daemon-less and rootless design. All Cubic virtual machines run isolated in the user context. Cubic is built on top of QEMU, KVM and cloud-init. Show all supported images: $ cubic images Create a new virtual machine instance: $ cubic create mymachine --image ubuntu:noble List all virtual machine instances: $ cubic instances Start an instance: $ cubic start <instance name> Stop an instance: $ cubic stop <instance name> Open a shell in the instance: $ cubic ssh <machine name> Copy a file from the host to the instance: $ cubic scp <path/to/host/file> <machine>:<path/to/guest/file> Copy a file from the instance to the hots: $ cubic scp <machine>:<path/to/guest/file> <path/to/host/file>
.. _Install Cubic:

Install Cubic
=============

Install on Linux
----------------

You can install Cubic on Linux with the following methods:

* `Install with Cargo`_ 
* `Install with Homebrew`_ 
* `Install with Snap`_ 

Install on macOS
----------------

You can install Cubic on macOS with the following methods:

* `Install with Cargo`_ 
* `Install with Homebrew`_ 

Install on Windows
------------------

You can install Cubic on Windows with the following methods:

* `Install with Cargo`_ 
* `Install with Homebrew`_ (in WSL)
* `Install with Snap`_ (in WSL)

Install with Cargo
------------------

Use the following command to install Cubic with `Cargo`_:

.. note:: Cubic requires the following dependencies: ``QEMU``, ``OpenSSH`` and either ``cdrtools`` or ``cdrkit``.

.. code-block::

       $ cargo install cubic

.. _Cargo: https://crates.io/crates/cubic

Install with Homebrew
---------------------

Use the following command to install Cubic via `Homebrew`_:

.. code-block::

       $ brew install cubic-vm/cubic/cubic

.. _Homebrew: https://github.com/cubic-vm/homebrew-cubic



Install with Snap
-----------------

Use the following command to install Cubic with `Snap`_:

.. code-block::

       $ sudo snap install cubic && \
            sudo snap connect cubic:kvm && \
            sudo snap connect cubic:ssh-keys

.. _Snap: https://snapcraft.io/cubic