So. You will find when using a mac that you need Xcode to run a lot of certain types of applications. I guess you could maybe think about it as .NET on windows (im not really for sure, i could be completely wrong). To install Xcode and the underlying command-line tools which are used by homebrew (something I’ll mention later in another post), do the following:

1) Install xcode from the app store. That should be the latest version and install most everything of what you need.

2) Launch Xcode and go to your preferences. Click the Downloads tab at the top and you should see a row that says “Command Line Tools” with an install icon.

3) ????

4) Profit.

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.