This tutorial will guide you through the process of installing, updating, and initial configuration of CLion on macOS.
CLion for Mac OS X 2020.2.1 download The download should start automatically in a few seconds. If it doesn't, click here to start the download process manually. CLion for Mac OS X download - Best Software 4 Download - free. software downloads - best software, shareware, demo and trialware. Remove/Backup – settings & cli for macOS (OS X) – DataGrip, AppCode, CLion, Gogland, IntelliJ, PhpStorm, PyCharm, Rider, RubyMine, WebStorm - README.md. All about sharing, all about mac. October 03, 2020. Free Download Clion 2020.2.3. Clionis a powerful IDE helps you develop in C and C on Linux, OS X and Windows, enhancing your productivity with a smart editor, code quality. Download JetBrains CLion 2019 for Mac Free. Click on below button to start JetBrains CLion 2019 Download for Mac OS X. This is completely Tested and Working Latest Version Mac OS App of JetBrains CLion 2019. It is offline installer and standalone setup for JetBrains CLion 2019 for Apple Macbook Macintosh.
Installation procedures
Before you start the CLion installation on macOS, make sure your machine meets the hardware requirements, and the version of your macOS is 10.9.4+.
You can always have multiple instances of CLion installed on the same OS, including both release and EAP builds.
Download the latest release or EAP version of CLion for macOS (earlier versions are available on the Previous CLion Releases page).
Open the downloaded CLion-*.dmg package and drag CLion to the Applications folder.
Open the Applications folder and launch the CLion installer.
If the security warning appears, agree to open the application:
When you install CLion manually, the update checking is performed automatically by default (every time the IDE is ready to update, you will see a message in the status bar). To configure the update process, go to Preferences | Appearance and Behaviour | System Settings | Updates and select the update channel:
Click Check now to perform the checking right away. In case there are available updates according to the chosen channel, you will see a dialog like the following:
Toolbox is a control panel that allows you to manage all JetBrains developer tools, including CLion, as well as your projects, from a single point of access. It enables you to maintain different versions of CLion, install updates and roll them back if needed. Toolbox remembers your JetBrains Account and uses it to automatically log in when you install and register new tools.
Download Toolbox and launch the setup file.
When the installation is complete, accept the JetBrains privacy policy and sign in to your JetBrains Account.
Now you can choose which version of CLion to install:
Toolbox shows the list of the installed versions:
In the Settings dialog, configure the way of updating CLion:
Note that in case of using Toolbox, the update process cannot be configured from within the IDE. The Preferences | Appearance and Behaviour | System Settings | Updates dialog shows the following message:
Alternatively, you can install CLion via the Homebrew package manager : brew cask install clion
. However, this option is unofficial, as the CLion team is not involved in its maintenance or support.
After the installation or upgrade, you will be prompted to import, inherit, or create new settings for the IDE.
Required tools
CLion needs to be provided with C and C++ compilers and the make utility. These tools may be pre-installed on your system: check it in Preferences | Build, Execution, Deployment | Toolchains - the compiler and make detection should perform successfully.
If your system does not have working installations of compilers and make, the simplest solution is to install Xcode command line developer tools.
Run the following command:
When prompted to install command line developer tools, click the Install button:
You can also choose to install the full package of Xcode, though it is not necessary for CLion.
With Xcode command line tools, you get the Clang compiler installed by default. To check the compiler presence and its version, run clang --version
.
Command line tools may not update automatically along with the system or Xcode update. This may cause error messages like invalid active developer path during project loading in CLion. To fix this, run the same xcode-select --install
command, and the tools will be updated accordingly.
As an alternative, you can separately install compilers and make, and then provide the paths in Preferences | Build, Execution, Deployment | Toolchains.
Note that you can use multiple compilers for the needs of your project, see Switching Compilers.
Configure toolchains
Now you need to configure the toolchain to work with, which means choosing the CMake executable, the make and C/C++ compilers location, and the debugger. Navigate to Preferences | Build, Execution, Deployment | Toolchains and edit the default toolchain, or click to add a new one.
CMake, make, and compilers
In the CMake field, specify the CMake binary that you want to use. You may stick to the bundled CMake, or use your custom CMake executable (see the minimum supported version in Software requirements).
The chosen CMake attempts to detect the compilers and make considering the packages installed on your system. If the detection succeeds, the fields Make, C Compiler, and C++ Compiler are filled automatically:
The detection of compilers and make fails if CMake cannot locate the appropriate tools (this may happen, for instance, if you installed them separately without the Xcode developer tools). In this case, you need to provide the actual paths manually.
Debugger
CLion for macOS comes with the bundled LLDB v 9.0.1 (the default debugger) and GDB v 8.0.1. You can also switch to a custom GDB (supported versions are 7.8.x-8.1.x). Select the debugger in Preferences | Build, Execution, Deployment | Toolchains:
Issues are possible when working with both bundled or custom GDB on macOS. To improve the behavior, enable the cidr.debugger.gdb.workaround.macOS.startupWithShell option in Registry (select Help | Find Action from the main menu and type Registry):
Note that enabling this option is not equivalent to setting set startup-with-shell off
in your .gdbinit script.
A combination of GDB and Clang implies certain limitations to debugging your projects on macOS. See STL renderers for GDB on macOS for details and a workaround.
Further steps
Now that you have CLion installed and configured, you may find the following articles useful for further steps of the development:
As a developer, you work with a lot of text resources: the source code in the editor, search results, debugger information, console input and output, and so on. Colors and font styles are used to format this text and help you better understand it at a glance.
CLion uses color schemes that define the preferred colors and fonts.
A color scheme is not the same as the interface theme, which defines the appearance of windows, dialogs, and controls.
You can use a predefined color scheme or customize it to your liking. It is also possible to share schemes.
Select a color scheme
In the Settings/Preferences dialog Ctrl+Alt+S, select Editor | Color Scheme.
Use the Scheme list to select a color scheme.
If you install a plugin with a color scheme, that scheme will be added to the list of predefined schemes. For more information, see Share color schemes.
Customize a color scheme
You can customize a predefined color scheme, but it is recommended to create a duplicate for your custom color and font settings:
Duplicate a color scheme
In the Settings/Preferences dialog Ctrl+Alt+S, select Editor | Color Scheme.
Select a color scheme, click , and then click Duplicate.
(Optional) To rename your custom scheme, click and select Rename.
Predefined color schemes are listed in bold font. If you customize a predefined color scheme, it will be displayed in blue. To restore a predefined color scheme to default settings, click and select Restore Defaults. You cannot remove predefined color schemes.
Clion Ide
To define color and font settings, expand the Editor | Color Scheme node . The settings are separated into sections. For example, the General section defines basic editor colors, such as the gutter, line numbers, errors, warnings, popups, hints, and so on. The Language Defaults section contains common syntax highlighting settings, which are applied to all supported programming languages by default. In most cases, it is sufficient to configure Language Defaults and make adjustments for specific languages if necessary. To change inherited color settings for an element, clear the Inherit values from checkbox.
Semantic highlighting
By default, the color scheme defines syntax highlighting for reserved words and other symbols in your source code: operators, keywords, suggestions, string literals, and so on. If you have a function or method with many parameters and local variables, it may be hard to distinguish them from one another at a glance. You can use semantic highlighting to assign a different color to each parameter and local variable.
Enable semantic highlighting
In the Settings/Preferences dialog Ctrl+Alt+S, select Editor | Color Scheme | Language Defaults | Semantic highlighting.
Select the Semantic highlighting checkbox and customize the color ranges if necessary.
Share color schemes
If you are used to a specific color scheme, you can export it from one installation and import it to another one. You can also share color schemes with other developers.
CLion can save your color scheme settings as an XML file with the .icls extension. You can then import the file to another installation.
In the Settings/Preferences dialog Ctrl+Alt+S, select Editor | Color Scheme.
From the Scheme list, select a color scheme, click , then click Export and select IntelliJ IDEA color scheme (.icls).
Specify the name and location of the file and save it.
The plugin can be uploaded to the plugin repository for others to install. This format has several benefits over an XML file, including metadata, feedback, download statistics, and versioning (when you upload a new version of the plugin, users will be notified about it).
In the Settings/Preferences dialog Ctrl+Alt+S, select Editor | Color Scheme.
From the Scheme list, select a color scheme, click , then click Export and select Color scheme plugin .jar.
In the Create Color Scheme Plugin dialog, specify the version details and vendor information. Then click OK.
When you install a plugin with a color scheme, that scheme will be added to the list of predefined schemes.
In the Settings/Preferences dialog Ctrl+Alt+S, select Editor | Color Scheme.
From the Scheme list, select a color scheme, click , then click Import Scheme.
Fonts
Clion Windows
To customize the default font, open the Editor | Font page of the Settings/PreferencesCtrl+Alt+S. This font is used and inherited in all color schemes by default.
Customize the color scheme font
You can set a different font for your current scheme.
This is not recommended if you are planning to share your scheme or use it on other platforms, which may not support the selected font. In such cases, use the default global font settings.
In the Settings/Preferences dialog Ctrl+Alt+S, select Editor | Color Scheme | Color Scheme Font.
Select the Use color scheme font instead of the default checkbox.
Customize the console font
By default, text in the console uses the same font as the color scheme. To use a different font in the console:
In the Settings/Preferences dialog Ctrl+Alt+S, select Editor | Color Scheme | Console Font.
Select the Use console font instead of the default checkbox.
Productivity tips
See the color scheme settings for the current symbol
Put the caret at the necessary symbol, press Ctrl+Shift+A, find the Jump to Colors and Fonts action, and execute it.
This will open the relevant color scheme settings for the symbol under the caret.
See which fonts are currently used in the editor
Clion Download
Press Ctrl+Shift+A and start typing a query, for example, Show Font.
From the list, select the Show Fonts Used by Editor action and press Enter to execute it.
This will open the Fonts Used by Editor dialog with a list of fonts.
Clion Keygen
Both the Jump to Colors and Fonts and the Show Fonts Used by Editor actions do not have a default shortcut. To assign a shortcut for an action, select it in the Find Action popup and press Alt+Enter.