snippetbashTip
tart — Build, run, and manage macOS and Linux virtual machines (VMs) on Apple Silicon. More information: <h
Viewed 0 times
commandbuildrunandclimanagetartmacos
macos
Problem
How to use the
tart command: Build, run, and manage macOS and Linux virtual machines (VMs) on Apple Silicon. More information: <https://github.com/cirruslabs/tart>.Solution
tart — Build, run, and manage macOS and Linux virtual machines (VMs) on Apple Silicon. More information: <https://github.com/cirruslabs/tart>.Pull a remote VM image:
tart pull {{acme.io/org/name:tag}}Clone a VM from a local or remote image source:
tart clone {{source-vm}} {{vm-name}}Create a new Mac VM from a specific ipsw file:
tart create --from-ipsw {{latest|path/to/file.ipsw}} {{vm-name}}Run an existing VM:
tart run {{vm-name}}Run an existing VM with a specific mounted directory:
tart run --dir {{path/to/directory}}:/{{path/to/local_directory}} {{vm-name}}List VMs:
tart listGet IP address of a running VM:
tart ip {{vm-name}}Change a VM's display resolution:
tart set {{vm-name}} --display {{640}}x{{400}}Code Snippets
Pull a remote VM image
tart pull {{acme.io/org/name:tag}}Clone a VM from a local or remote image source
tart clone {{source-vm}} {{vm-name}}Create a new Mac VM from a specific ipsw file
tart create --from-ipsw {{latest|path/to/file.ipsw}} {{vm-name}}Run an existing VM
tart run {{vm-name}}Run an existing VM with a specific mounted directory
tart run --dir {{path/to/directory}}:/{{path/to/local_directory}} {{vm-name}}Context
tldr-pages: osx/tart
Revisions (0)
No revisions yet.