Hangar: open-source Mac app runs Claude Code in sandboxed VMs with key isolation

ozgursoy · reddit · 2026-11-23

Baseguard released Hangar, a free, open-source (Apache 2.0) Mac app + CLI that runs macOS, Linux, and Windows VMs on Apple silicon, built specifically for running Claude Code and Codex with approvals off.

Key features:

Notably, Windows 11 on Arm installs unattended from Microsoft's ISO — work inspired by Mustafa Akın's post on running Windows via Apple's Virtualization framework, with a UEFI display driver and a Windows PE installer tool largely built by Claude Code. Even the launch video's pixel animation and music were Claude-written code.

Requires macOS 27+ on Apple silicon: brew install --cask baseguard/tap/hangar, source at github.com/baseguard/hangar.

Related event: Baseguard Open-Sources Hangar to Run Claude Code in VM Sandboxes(4 posts)→

Original post →

More from coding & agent

coding & agent channel →