Open the diff viewer to compare two or three files from the command line. For example, you can compare the current version of a file with its backup, or your local copy of a file with its copy from the remote repository or its copy from another branch.
Windows
macOS
Linux
You can find the executable for running CLion in the installation directory under bin. To use this executable as the command-line launcher, add it to your system PATH as described in Command-line interface.
By default, CLion does not provide a command-line launcher. For more information about creating a launcher script for CLion, refer to Command-line interface.
You can find the script for running CLion in the installation directory under bin. To use this script as the command-line launcher, add it to your system PATH as described in Command-line interface.