Just made an account to post this since I had the same problem as OP, Linux and Mac are both Unix systems so actually running what he said to Bash in mac terminal gets you what you want, I just did it. The documentation is terrible though since this is not really posted anywhere I could find.