CLion remote development

Answered

Been using VS code for many years, which can directly access a remote host using SSH and develop remotely. However I can't see to find a way to do this with CLion.

I downloaded Jetbrains gateway  (not sure if this is the way?), unpacked tar.gz and ran gateway.sh but it asks me for IDE version, it says it needs to download and install CLion again? My CLion IDE was installed through Ubuntu software.

Thanks

 

0
1 comment

Hello!

There are two different approaches:

  1. The Full Remote Mode in CLion - https://www.jetbrains.com/help/clion/remote-projects-support.html.
    In this case CLion should be installed locally; the source code should be located locally (CLion will automatically synchronize it to remote host); CLion operations, such as indexing, will happen locally; build/run/debug procedures will be performed on the remote machine.
  2. JetBrains Gateway - https://www.jetbrains.com/remote-development/gateway/. 
    In this case you don't even have to have CLion installed on your local machine. JetBrains Gateway deploys the CLion backend on the remote machine and everything happens there, including indexing and other CLion operations.

Feel free to read https://blog.jetbrains.com/clion/2021/12/clion-2021-3-remote-debugger-docker/#beta_remote_dev, it also highlights the differences between these two approaches.
 

0

Please sign in to leave a comment.