# VMfile — Ubuntu 24.04 VM on macOS via Multipass

brew multipass

multipass stamp 24.04
  cpus 2
  memory 4G
  disk 20G
  start

ensure unzip
  check multipass exec stamp -- which unzip
  apply multipass exec stamp -- sudo apt-get update -qq
  apply multipass exec stamp -- sudo apt-get install -y -qq unzip

ensure bun
  check multipass exec stamp -- test -x /home/ubuntu/.bun/bin/bun
  apply multipass exec stamp -- bash -lc "curl -fsSL https://bun.sh/install | bash"

ensure rip
  check multipass exec stamp -- test -x /home/ubuntu/.bun/bin/rip
  apply multipass exec stamp -- /home/ubuntu/.bun/bin/bun add -g rip-lang
