Mac's are closer to BSD than Linux and suck for Linux oriented development. Brew is more ductape than a solution and you basically need to replace all GNU tools since they are horrible out of date.
Running 32gb laptops to run a few development environments that really should be fine in 16gb is sad.