Skip to content

patevs/macos-vm

Repository files navigation

MacOS VM

Instructions and script to help you create a VirtualBox VM running MacOS.


Links & Resources

  • macos-virtualbox Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox for Windows, Linux, and macOS.

  • fastmac Get a MacOS or Linux shell, for free, in around 2 minutes.

  • dev-setup macOS development environment setup.

  • gibMacOS Py2/py3 script that can download macOS components direct from Apple.

Dependencies

bash coreutils gzip unzip wget xxd dmg2img virtualbox

  • VirtualBox ≥ 6.1.6, though versions as low as 5.2 may work.
  • GNU Bash ≥ 4.3, on Windows run through Cygwin or WSL - see NEM
  • GNU coreutils ≥ 8.22, GNU gzip ≥ 1.5, Info-ZIP unzip ≥ v6.0, GNU wget ≥ 1.14, xxd ≥ 1.11
  • dmg2img ≥ 1.6.5, on Cygwin the package is not available through the package manager so the script downloads it automatically.

Usage

# Download and run installer script
bash ./run.sh

If running on an AMD based system, execute the following command from an elevated prompt:

VBoxManage modifyvm "macOS" --cpu-profile "Intel Xeon X5482 3.20GHz"

Project Structure

.
├── .husky           # Husky configuration
├── .commitlintrc    # Commitlint configuration
├── .editorconfig    # Editor configuration
├── .gitignore       # Git ignore configuration
├── .np-config.json  # NPM publish (np) configuration
├── LICENSE          # Project LICENSE
├── package.json     # NPM package configuration
├── README.md        # Project README
└── run.sh           # Main run script