How to create a Linux Virtual Machine on macOS
6 min readJan 17, 2023
Table of Contents:
- Install VirtualBox
- Create a Virtual Machine
- Download the Linux OS in the Virtual Machine
- Getting Familiar with your Linux VM
- Fine Tuning your VM
- Alternative Options: Use a VM on a Browser
Install VirtualBox
0. Check that your computer has at least 4GB of RAM — without this pre-requisite, you cannot install a VM locally. Check further down other alternatives!
- Check your current version of the OS:
2. Check the supported Host Operating Systems.
If your OS is not supported, you can use another hypervisor instead of Virtual Box. Some options:
- Use UTM: https://www.youtube.com/watch?v=qiw-n8OUT1U
- Use Parallels: https://www.youtube.com/watch?v=1WWj6qoWhJw
3. Go to the VirtualBox Downloads page and download the dmg file for your OS: