Improving software delivery in every organisation

Build Tools

xcode cli tools

Under the hood macOS is a Unix operating system with it’s roots in BSD.

In order to compile source code you need some tools that will do compilation.

While Ruby code isn’t compiled, the most accepted way to install Ruby itself is to compile it from source. You will also find that homebrew needs to compile some things.

On macOS the accepted way of doing this is by installing xcode

$ xcode-select --install

if you already installed homebrew, this will say that you’ve already got it installed.


macOS does not come with it’s own package manager (like Linux does), however there is a community that has put one together.

You can install it by running

$ /bin/bash -c "$(curl -fsSL"

Stop and understand

  • Describe what -fsSL does
  • Describe what -c does


  • $ man curl - look up the curl flags
  • $ man bash - look up the bash flag

To Do