I've been trying to set a path to Clion directory in my computer in order to open this program with a command in terminal, but it didn't worked.
If you read this and asked yourself: "what?". I want to start a C++ project like I did with a normal text editor(I used to write codes with gedit).
I want something like, make a hello world:
Clion helloWorld.cpp &
And it will open a new project, named helloWorld, and then I can write down the code.
If it is impossible to do that, sorry.
Start CLion using the GUI interface, then start Terminal and run the following to find what process is running:
Output
So the command I need to use, in my case, to start CLion from the command line is:
Then you need to pass the directory containing your project, so you could make a function like this:
Then you can just type: