How to open a directory in PHPStorm or IntelliJ (or any JetBrains IDE) from the command line?

Jordan Brown picture Jordan Brown · Nov 29, 2011 · Viewed 20.7k times · Source

Is there a way to open up a directory in PHPStorm or an equivalent Jetbrains IDE from the command line? For example, in Textmate, I would just do:

mate .

to open the working directory.

Answer

Alex picture Alex · Feb 7, 2012

Use Tools -> Create command line launcher and then you can execute pstorm .