Click here for more detailed instructions.
The following instructions will install a C and C++ compiler.
-
Open a terminal and run the following command:
xcode-select --install
-
Click "Install" to proceed with the installation
CLion should automatically detect the installed compiler.
-
Navigate to "Preferences" → "Build, Execution, Deployment" → "Toolchains"
-
If the compiler is installed correctly, you should see something similar to the following: