Install and use the Anka Virtualization CLI to create, run, and manage macOS VMs on Apple Silicon and Intel Macs.

Using Anka

Anka Virtualization CLI

There are many ways in which our customers utilize the Anka Virtualization CLI to automate the VM creation and preparation process:

  • Through the anka create command on the host machine:
    ❯ anka create my-ci-vm 26.6.2
    
  • By executing your project installation commands and scripts inside of VMs from the host terminal with anka run and also directly inside the VM with anka cp & anka run.
  • Any manual steps you need to perform in the GUI can be done through VNC or automated with Anka Click Scripts.
  • By pulling tools onto the VM as thin OCI tags, for example a Homebrew bottle from ghcr.io, without installing Homebrew inside of the VM:
    ❯ anka pull my-ci-vm oci://ghcr.io/homebrew/core/cmake:4.3.4 --transform 's|cmake/4.3.4|usr/local'
    
  • By pulling a GGUF model from Hugging Face onto the VM the same way (oci://hf.co/...), so CI jobs load weights from the guest cache instead of downloading them at run time:
    ❯ anka pull my-ci-vm oci://hf.co/MaziyarPanahi/Llama-3.2-1B-Instruct-GGUF:Q4_K_M
    
  • By listing the macOS version and the thin tags in an Ankafile, and creating the VM with anka create my-ci-vm ./Ankafile.
  • Create Packer Templates and run them to perform the steps for VM creation and preparation with our Packer plugin.

Anka list start and run

  1. Review the Glossary.
  2. Install Anka Virtualization Package.
  3. Create a VM — quick start plus compatibility, clones, export/import, and related topics in the Creating VMs section.
  4. Access and modify your VM.
  5. Optional: Build Cloud registry for team-wide template storage.