How do I minimize a macOS install (monterey is 60GB+)

Discussion in 'macOS Virtual Machine' started by DavidE7, Jan 29, 2022.

  1. DavidE7

    DavidE7 Member

    Messages:
    30
    Hi,
    is there a smooth way to make a minimal macos install to just run the core os, ie no mac apps no extras.
    60GB feels a bit steep when I just need the macos VM for testing various sandboxed apps

    thx david
     
  2. catap

    catap Bit poster

    Messages:
    1
    The easy way is run in terminal inside VM something like this:
    cat /dev/zero > hugefile; sync; sleep 1; sync; rm -f hugefile
    it creates a file full of zeros and after that remove it. It forces FS to be defragmentated and can save tons of space on your disk. For example my VM has size ~36Gb which is much better than 60gb :)
     

Share This Page