Detect system type using the `uname` command in there and see if it's a Mac if its Mac install packages using brew in that case