Command | Description |
---|---|
multipass launch --name <name> --memory <size> |
Launch a new VM with specified RAM. Example: --memory 4G for 4 GB of RAM. |
multipass launch --name <name> --disk <size> |
Launch a new VM with specified disk space. Example: --disk 20G for 20 GB. |
multipass launch --name <name> --cpus <count> |
Launch a new VM with specified number of CPUs. Example: --cpus 2 for 2 CPUs. |
multipass transfer <file> <vm-name>:<destination> |
Copy files from the host to the specified VM. |
multipass transfer <vm-name>:<file> <destination> |
Copy files from the VM to the host. |
multipass mount <host-path> <vm-name>:<vm-path> |
Mount a host directory in the VM. |
multipass umount <vm-name> |
Unmount all mounted directories in the VM. |
multipass list |
List all VMs. |
multipass start <vm-name> |
Start a specific VM. |
multipass stop <vm-name> |
Stop a specific VM. |
multipass delete <vm-name> |
Delete a specific VM. |
multipass find |
List available images to create VMs. |
Last active
January 26, 2025 21:40
-
-
Save brahimmachkouri/fb211b382aa61f697689c64566f1056e to your computer and use it in GitHub Desktop.
Multipass cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment