Setup C++ development environment on macOS
Homebrew
Install Homebrew:
Development Tools
Xcode
Install Command Line Tools (CLT) for Xcode:
CMake
ninja
Misc
Finder
Show hidden files:
Hold the 'Option/alt' key, then right click on the Finder icon in the dock and click Relaunch
Troubleshooting
If you get:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Try this:
If that doesn't show you any updates, run: