Open Intellij IDEA from terminal

  1. Open IntelliJ IDEA
  2. Go to Tools → Create Command-line Launcher...
  3. Click OK (or change the path if you want)
  4. Now you can open IDEA in your directory with idea .!

I've only tried this in Mac, let me know if this works on other OSs and I'll update the post :)