Multipass CLI Commands - Manage Ubuntu VMs

Learn essential Multipass CLI commands to launch, list, find, and manage Ubuntu virtual machines on your local machine. Simplify VM creation for development.

Multipass CLI Commands

Multipass is a tool that simplifies the process of launching and managing Ubuntu virtual machines on your local machine. It's designed for developers who need a quick and easy way to spin up isolated Ubuntu environments for testing, development, or running specific applications. Below are some essential Multipass commands to get you started.

List All Multipass Options

To see all available options and commands for Multipass, you can use the following command. This is a great way to discover the full capabilities of the tool.

multipass --help

List Existing Virtual Machines

This command displays all the virtual machines that are currently running or have been created on your system using Multipass. It helps you keep track of your active instances.

multipass list

Find Available VM Images

Use this command to discover which Ubuntu images are available for download and use with Multipass. This allows you to choose the specific Ubuntu version or flavor you need for your VM.

multipass find

Launch a Temporary Virtual Machine

This command launches a new virtual machine with a specified name and the -v flag, which typically enables verbose output for debugging. The --name todelete part indicates that this VM is intended for temporary use and can be easily removed later.

multipass launch -v --name todelete

Further Resources