I'd use a VM if you're running things like mysql, nosql stuff, etc. OSX it seems like everyone has a different way of installing things, on a Linux it's just "sudo apt-get", plus if you have issues there's more documentation and forums for Linux users than Mac.