How to install Linux on Mac
To install Linux on Mac, the easiest way is a virtual machine: Linux runs in a window, and macOS stays untouched. To run Linux on its own next to macOS, use Asahi Linux on a Mac with an M1 or M2 chip, or a USB installer on an Intel Mac.
Which way suits your Mac
Choose Apple menu › About This Mac. A line called Chip means a Mac with Apple silicon, a line called Processor means an Intel-based Mac.

- Any Mac: a virtual machine. Safe, nothing to partition, but Linux shares the Mac’s memory with macOS.
- Apple silicon: Asahi Linux, a full install next to macOS, for Macs with M1 and M2 chips.
- Intel: a full install next to macOS from a USB installer.
Boot Camp installs only Windows, not Linux: see Boot Camp for Mac.
Run Linux in a virtual machine
Two well-known free apps do it: UTM (mac.getutm.app), which uses Apple’s own virtualization on Apple silicon, and VirtualBox (virtualbox.org), which runs on both Apple silicon and Intel Macs.
- Download your Linux distribution’s installer image (ISO) from its official site. On Apple silicon take the ARM64 (AArch64) version, on an Intel Mac the x86-64 (amd64) one.
- Install UTM or VirtualBox from its official site.
- Create a new virtual machine, choose Linux and select the ISO file. Give it memory and disk space, for example 4 GB of memory and 30 GB of disk.
- Start the virtual machine and install Linux the same way as on a regular computer.
On Apple silicon, an x86-64 version of Linux runs only through emulation, which is much slower. Pick the ARM64 version whenever the distribution has one.
Install Asahi Linux on a Mac with Apple silicon
Asahi Linux is a community project, not an Apple one. Its distribution, Fedora Asahi Remix, supports all Macs with M1 and M2 chips. Support for M3 is at an early stage, and Macs with M4 and later chips can’t install it yet. Check the device list on asahilinux.org before you start.
- Back up your Mac: see how to back up a Mac.
- Open Terminal and paste the command below from asahilinux.org.
- Follow the installer: enter your password, choose how much space to give Linux and pick Fedora Asahi Remix. It tells you how to finish the setup after a restart.
- To switch systems later, shut down, then press and hold the power button until the startup options appear, and choose macOS or Linux.
The installer shrinks the macOS partition to make room for Linux. It doesn’t delete macOS or your files, but changing partitions is risky without a backup:
curl https://alx.sh | shInstall Linux next to macOS on an Intel Mac
- Back up your Mac and download the x86-64 installer image of your distribution.
- Write the image to a USB drive with the tool your distribution’s site recommends.
- On a Mac with the Apple T2 Security Chip, start up in macOS Recovery, choose Utilities › Startup Security Utility and allow booting from external media. Linux usually also needs Secure Boot set to No Security.
- Shut down, connect the USB drive, turn the Mac on and immediately hold Option. Select the USB drive (often called EFI Boot) and press Return.
- In the Linux installer, choose to install alongside macOS or on free space. An option like “Erase disk” deletes macOS and all your files.
Built-in Wi-Fi, the keyboard or the trackpad of some Intel Macs need extra drivers in Linux. Look up your Mac model in your distribution’s documentation before you install.
Keep your Mac tidy

MacWashing doesn’t install operating systems. If you need room for a virtual machine or a Linux partition, System Junk clears caches, logs and leftovers of deleted apps.
Free trial · macOS 14 or later
Questions and answers
Can I install Linux on Mac without dual boot?
Yes, in a virtual machine such as UTM or VirtualBox. Linux runs in a window, and you don’t partition the disk or restart the Mac.
Can I install Linux on an M3 or M4 Mac?
In a virtual machine, yes. Asahi Linux fully supports only M1 and M2 Macs for now: M3 support is at an early stage, and M4 and later chips aren’t supported yet.
Will installing Linux delete macOS?
Not with a virtual machine or Asahi Linux, which installs next to macOS. On an Intel Mac, it happens only if you choose to erase the disk in the Linux installer.