Skip to main content
This page is a draft and may be incomplete or change significantly. If you have questions, reach out to us on Discord or open an issue.
The Mesa CLI lets you mount repositories as local directories, manage configurations, and interact with Mesa from the command line.
The Mesa CLI runs on Linux only. On other platforms, use a Linux sandbox or container; see Sandboxes.

Installation

Install on Linux, pinning the version you want:
This installs the exact version through your package manager (apt/apk/dnf), which retains all historical releases. On apt the package is also held with apt-mark hold mesa so the pin survives a later apt upgrade. On Alpine the pin is recorded in /etc/apk/world and respected on upgrade. On dnf, use the versionlock plugin if you need to prevent dnf upgrade from moving off the pin. Check back periodically and move the pin forward to pick up fixes and new features.
We highly recommend pinning a version so an upgrade never moves you onto breaking changes unexpectedly. If you want to track the newest release anyway, pass --version=latest.
For detailed configuration options, see Configuration. For a full list of commands, see Commands.