Skip to content

Instantly share code, notes, and snippets.

@wrmack
wrmack / Win11.md
Last active August 24, 2024 13:27
Windows 11 on MacBook M1

Windows 11 on MacBook M1 (ARM)

Steps I went through to install a Windows Insider Preview VHDX on a Macbook Pro using UTM. I needed Windows because I was developing an app to submit to the Microsoft Store. With the following setup I was able to develop an electron-based app and submit it to the Microsoft Store.

  1. Download the VHDX from Windows Insider Previews. You need to register for the Insider Program and sign in.
    • under Select edition select the Canary channel and press Confirm
    • select language and confirm
    • press Download
  2. Open UTM and press + to create a new virtual machine
    • Virtualize
  • Windows
@wrmack
wrmack / linux.md
Last active March 29, 2024 01:06
Linux on Macbook M1 (ARM64)

Linux on Macbook M1 using Apple virtualization

Tried with UTM but there is an issue with disk corruption. Until this is fixed in UTM I installed Ubuntu Linux using tart. Tart uses NVME.

  1. Install tart:
brew install cirruslabs/cli/tart
  1. I wanted the VM to be on an external SSD so needed to set the environment variable TART_HOME
# Set environment variable