open pycharm from terminal

C++
pycharm-community .

Source

Also in C++: