LinuxCommandLibrary

limactl

Virtual machine manager for Linux guests, with multiple VM templates available.

TLDR

List VMs

$ limactl list
copy


Create a VM using the default settings and optionally provide a name and/or a template (see limactl create --list-templates for available templates)
$ limactl create --name [vm_name] template://[debian|fedora|ubuntu|…]
copy


Start a VM (this might install some dependencies in it and take a few minutes)
$ limactl start [vm_name]
copy


Open a remote shell inside a VM
$ limactl shell [vm_name]
copy


Run a command inside a VM
$ limactl shell [vm_name] [command]
copy


Stop/shutdown a VM
$ limactl stop [vm_name]
copy


Delete a VM
$ limactl remove [vm_name]
copy

Copied to clipboard