Open files from the command line
Last modified: 09 September 2021
You can find the executable for running PhpStorm in the installation directory under bin. To use this executable as the command-line launcher, add it to your system PATH
as described in Command-line interface.
- Syntax
phpstorm64.exe [--line <number>] [--column <number>] <path ...>
- Examples
Open a project:
>phpstorm64.exe C:\MyProject
Open a specific file on line number 42:
>phpstorm64.exe --line 42 C:\MyProject\scripts\numbers.js