Search code examples
phpstorm

How to open a project in PhpStorm from command line on Windows


How to open a project in PhpStorm from the command line on Windows?

I tried this: https://stackoverflow.com/questions/8304169/how-to-open-a-directory-in-phpstorm-or-intellij-or-any-jetbrains-ide-from-the][1] but can't find Tools -> Create command line launcher on Windows.

I am using the latest PhpStorm.


Solution

  • Command-line launcher is currently only available fo UNIX; there is a feature request for providing it on Windows, IDEA-114307, please feel free to vote for it. If you like to start PhpStorm from command prompt, open cmd console, cd to %PS_install_dir%/bin and run either phpstorm64.exe or phpstorm.bat, passing a path to project folder to it, like it's described in https://www.jetbrains.com/help/phpstorm/opening-files-from-command-line.html. If you like to start it from any directory, add %PS_install_dir%/bin to your system %PATH%