Clang on macOS

Check if the clang compiler is installed on your Mac using the following terminal command:

clang --version

If it is not installed, then install Xcode and run the following command to install the developer tools which include the clang compiler:

xcode-select --install

Gavin Wiggins © 2022