editors.dev

CLion

Cross-platform IDE for C and C++, free for non-commercial use.

IDE Paid

About CLion

CLion is the JetBrains IDE for C and C++, built on the IntelliJ Platform. It works with CMake, Makefile, Bazel and Meson projects, the GCC, Clang and MSVC compilers, and the GDB and LLDB debuggers, and it covers embedded development with cross-compilation and on-chip debugging. It is free for non-commercial use such as learning, open-source contributions, content creation and hobby projects; commercial use requires a paid subscription.

What it offers

  • Works with CMake, Makefile, Bazel and Meson projects and with the GCC, Clang and MSVC compilers on Windows, Linux and macOS.
  • Debugging uses GDB, LLDB or a debugger connected over DAP. For embedded targets the IDE supports cross-compilation and on-chip debugging with probes such as Lauterbach TRACE32, SEGGER J-Link and ST-LINK.
  • The Rust plugin is free in CLion under both the non-commercial and the commercial license.
  • Since version 2026.3 CLion ships with JetBrains Air for running coding agents such as Claude Agent, Codex, Gemini, GitHub Copilot, Junie and OpenCode, and agents can debug hard faults and configure CMake projects through the IDE. The Junie Lite configuration is free with a JetBrains Account, and AI Assistant remains available as a separate plugin.
  • Code With Me is no longer bundled. Its plugin supports IDE versions up to 2026.1, and JetBrains will shut the service down in Q1 2027.

What is built in

Listed only where we have checked it

  • Debugger Built in
  • Git integration Built in
  • Integrated terminal Built in
  • AI assistant Built in
  • Remote development Built in
  • Live collaboration Not supported
  • Vim mode Extension

Languages

How CLion supports each common language, and what you get with the recommended setup.

11 Built in 2 Official extension 10 Community extension 3 Not supported

  • JavaScript Built in
    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : Yes
    • Formatting : Yes

    CLion ships the JavaScript and TypeScript plugin, so it has WebStorm's JavaScript editing, Jest and Mocha test runners, and debugging in Chrome-family browsers.

    Source ↗
  • TypeScript Built in
    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : No
    • Formatting : Yes

    TypeScript support comes from the same bundled plugin as in WebStorm and needs no setup.

    Source ↗
  • Python Built in
    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : Yes
    • Formatting : Yes

    CLion bundles the Python Community Edition plugin for scripts and pytest suites next to C/C++ code; check that it is enabled in Settings. Django, Flask and notebooks need PyCharm.

    Source ↗
  • C++ Built in
    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : Yes
    • Formatting : Yes

    C and C++ are CLion's main languages, with project-wide refactoring, a debugger, GoogleTest, Catch2, Boost.Test and doctest support, and ClangFormat as an optional formatter.

    Source ↗
  • C Built in
    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : Yes
    • Formatting : Yes

    C is one of CLion's main languages and gets the same refactoring, debugging, unit-test and ClangFormat support as C++, including for embedded projects.

    Source ↗
  • Rust Built in
    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : Yes
    • Formatting : Yes

    CLion bundles JetBrains' Rust plugin, which has the same features as RustRover, including LLDB/GDB debugging, Cargo, tests and rustfmt. Since 2026.2 debugging needs the Native Debugging Support plugin.

    Source ↗
  • Objective-C Built in
    • Completion : Yes
    • Go to definition : No
    • Refactoring : No
    • Debugging : No
    • Tests : No
    • Formatting : No

    CLion's default Nova engine gives only basic Objective-C support: highlighting, completion and warnings, while refactorings may not work. Full support was in the CLion Classic engine, whose last compatible release is 2026.3.

    Source ↗
  • HTML Built in
    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : No
    • Tests : No
    • Formatting : Yes

    CLion includes WebStorm's HTML support through a bundled plugin: completion, Emmet, navigation, tag renaming and formatting.

    Source ↗
  • CSS Built in
    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : No
    • Tests : No
    • Formatting : Yes

    CSS, Sass/SCSS and Less get completion, navigation to selectors, renaming of classes and ids, and formatting from bundled plugins.

    Source ↗
  • SQL Built in
    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : No
    • Tests : No
    • Formatting : Yes

    The bundled Database Tools and SQL plugin brings DataGrip's features: a database browser, query consoles, SQL completion against your schema and a SQL formatter.

    Source ↗
  • Shell Built in
    • Completion : Yes
    • Go to definition : No
    • Refactoring : No
    • Debugging : No
    • Tests : No
    • Formatting : Yes

    The bundled Shell Script plugin gives highlighting, completion, a run configuration and ShellCheck inspections; CLion offers to download ShellCheck and the shfmt formatter. There is no debugger.

    Source ↗
  • Dart Official extension

    With Dart

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : Yes
    • Formatting : Yes

    The Dart plugin, now published by Google's Dart and Flutter team, installs in CLion and uses the analysis server from the Dart SDK you install. Google's Flutter plugin also lists CLion as compatible.

    Source ↗
  • R Official extension

    With R Language

    • Completion : Yes
    • Go to definition : No
    • Refactoring : No
    • Debugging : Yes
    • Tests : No
    • Formatting : No

    JetBrains' R Language plugin installs in CLion and needs a local R installation; it runs and debugs R scripts and previews plots and R Markdown. PyCharm's help marks it as deprecated, though it still gets 2026.3 builds.

    Source ↗
  • Java Community extension

    With LSP4IJ

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : No
    • Tests : No
    • Formatting : Yes

    There is no JetBrains Java plugin for CLion; JetBrains' Java IDE is IntelliJ IDEA. Red Hat's LSP4IJ plugin has a ready-made template for the Eclipse JDT language server (jdtls).

    Source ↗
  • Go Community extension

    With LSP4IJ

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : No
    • Formatting : Yes

    JetBrains' Go plugin only works in GoLand and IntelliJ IDEA. In CLion, Red Hat's LSP4IJ plugin has ready-made setups for gopls and for debugging with Delve.

    Source ↗
  • Ruby Community extension

    With LSP4IJ

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : No
    • Formatting : Yes

    JetBrains' Ruby plugin only works in IntelliJ IDEA. Red Hat's LSP4IJ plugin has ready-made setups for Ruby LSP and for debugging with rdbg; JetBrains' Ruby IDE is RubyMine.

    Source ↗
  • Swift Community extension

    With LSP4IJ

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : No
    • Formatting : Yes

    JetBrains discontinued its Swift plugin for CLion after 2023.1. Red Hat's LSP4IJ plugin has a ready-made template for SourceKit-LSP, which comes with the Swift toolchain you install yourself. LSP4IJ's lldb-dap debugger template adds debugging.

    Source ↗
  • Lua Community extension

    With EmmyLua2

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : No
    • Formatting : Yes

    JetBrains' new Lua plugin is not offered for CLion. The community EmmyLua2 plugin works there, built on the emmylua_ls language server, with a formatter and its own debugger.

    Source ↗
  • Scala Community extension

    With LSP4IJ

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : No
    • Tests : No
    • Formatting : Yes

    JetBrains' Scala plugin only works in IntelliJ IDEA. Red Hat's LSP4IJ plugin has a ready-made template for the Metals language server, which you install with Coursier.

    Source ↗
  • Elixir Community extension

    With Elixir

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : Yes
    • Formatting : Yes

    The community Elixir plugin (intellij-elixir) works in CLion and adds Mix and ExUnit run configurations, a graphical debugger and formatting. Elixir and Erlang must be installed.

    Source ↗
  • Haskell Community extension

    With Haskell LSP

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : No
    • Tests : No
    • Formatting : Yes

    The community Haskell LSP plugin runs on LSP4IJ and connects to haskell-language-server, which you install yourself, for example with GHCup. There is no debugger.

    Source ↗
  • Zig Community extension

    With ZigBrains

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : No
    • Formatting : Yes

    ZigBrains uses the ZLS language server and can download Zig and ZLS for you. Its author has verified debugging with LLDB or GDB in CLion.

    Source ↗
  • Julia Community extension

    With LSP4IJ

    • Completion : Yes
    • Go to definition : Yes
    • Refactoring : Yes
    • Debugging : Yes
    • Tests : No
    • Formatting : Yes

    Red Hat's LSP4IJ plugin has a ready-made template for the Julia language server (LanguageServer.jl), which you add with Julia's package manager. The old Julia plugin for JetBrains IDEs is unmaintained. LSP4IJ's Julia debugger template adds debugging.

    Source ↗
Not supported C#, PHP, Kotlin
  • C# CLion only colours C# code through its bundled TextMate grammar. JetBrains' C# IDE is Rider. Source ↗
  • PHP JetBrains' PHP plugin only works in IntelliJ IDEA, so CLion just colours PHP through its TextMate grammar. JetBrains' PHP IDE is PhpStorm. Source ↗
  • Kotlin JetBrains' Kotlin plugin only works in IntelliJ IDEA and Android Studio, so CLion just colours Kotlin through its bundled TextMate grammar. LSP4IJ has no Kotlin template. Source ↗

Who it is for

Who it suits

  • C and C++ developers who work with CMake, Makefile, Bazel or Meson projects on Windows, macOS or Linux.
  • Embedded developers who need cross-compilation and on-chip debugging inside the IDE.
  • Students, hobbyists and open-source contributors, who can use it for free under the non-commercial license.

Who should look elsewhere

  • Developers who do commercial work without a budget for tools. Commercial use requires a paid subscription.
  • Users of the free license who do not want usage data collected. Under the non-commercial license anonymous data is collected, and detailed code-related data is collected by default until it is turned off in the settings.
  • Teams that need real-time collaborative editing in the IDE, because Code With Me is being discontinued.

CLion pricing

Free for individual non-commercial use. For commercial use, individuals pay US $109.00 for the first year or US $10.90 per month and organizations pay US $259.00 per user per year or US $25.90 per user per month; prices are in USD as shown on the JetBrains store for Türkiye, excluding VAT, and a 30-day free trial is available.

Price Paid Proprietary

CLion next to its alternatives

The same facts for each editor, taken from the directory.

Alternatives
Editor Type Price Built with Platforms Languages built in Remote developmentLive collaborationVim mode
CLion IDE Paid Java, Kotlin (IntelliJ Platform) Windows · macOS · Linux 11 / 26 Built in Not supported Extension
Visual Studio IDE Free tier, paid plans .NET Framework, WPF Windows 9 / 26 Built in Not supported Extension
VS Code Editor Free Open source TypeScript, Electron Windows · macOS · Linux 5 / 26 Extension Extension Extension
Xcode IDE Free Not published by Apple (closed source) macOS 4 / 26 –Not listed –Not listed Built in
Zed Editor Free tier, paid plans Open source Rust, GPUI macOS · Linux · Windows 10 / 26 Built in Built in Built in

Built in Extension Not supported