Clang on macOS

December 13, 2022

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

C++ Programs © 2023
Built by Gavin Wiggins