Just discovered Viable, a lightweight tool to run macOS VMs inside Apple Silicon machines. Supposedly more performant by using newer virtualization tools in macOS/hardware. I'm looking forward to using this for figuring how things like package managers work before I screw up my system by installing them.
@noamross have you checked out LIMA, too? :) quite like it https://lima-vm.io/
@specphil Interesting! I think there a number of options for Linux VMs. I just started using OrbStack for docker and I think it does some similar things to LIMA for VMs https://docs.orbstack.dev/machines/
@noamross thanks for the OrbStack link. What i like about lima is the many templates for linux flavors, and also possibility of tightly integrating of file sharing betweeen the macOS file system and the linux VM
(could even be via sshfs as far as i remember).
@specphil I don't actually have an opinion on this, still looking at ideas myself, but I guess LIMA undernearth Colima? And this is what OrbStack *says* the difference between them is: https://docs.orbstack.dev/compare/colima
@specphil The maker of Viable also has a version for running Linux VMs, probably no better than the others for most things but does graphical/desktop apps
https://eclecticlight.co/tag/liviable/
@noamross ah ok Mac inside Mac with the posted solution :-) which package managers do you have in mind? ;-) yeah many that screw up a system (personally leaving my fingers from brew and conda, and use nix instead)
@specphil This post was inspired by thinking I might finally try Nix out, and also spending an inordinate amount of time trying to figure out which python framework to go with. (pyenv and pipx I think?)
@noamross @noamross many more green ticks for OrbStack. LIMA is in nixpkgs. OrbStack not (https://github.com/orbstack/orbstack/issues/382). I manage my development environment in ~/git/rixd a short setup/instructions is in the readme of the repo. `flake.nix` contains LIMA, too https://github.com/philipp-baumann/git/blob/main/flake.nix i can recommend nix-direnv and home-manager, when you use flakes (for now it's just for development)
@noamross For more projects-based stuff, I use standard nix and often also {rix} (if you have feedback in terms of features, we are very happy to receive) cc @brodriguesco also, many PRs in nixpkgs greatly need people with darwin