Go to PhpStorm/WebStorm then Settings->Plugins->Browser repositories... search for Gherkin TS Runner and just install it.
Second way is to downlaod and install it manually by Install plugin from disk.... Jar file you can get from JetBrains Plugins Repository.
Plugin require to fill every setting in settings to work.
Feature Regex
This regular expressions is used to find lines where Feature start in file with feature extension and then mark it.
Eg. Feature:([a-zA-Z ]+)$
Scenario Regex
This regular expressions is used to find lines where Scenario start in file with feature extension and then mark it.
Eg. Scenario:([a-zA-Z ]+)$
Protractor cmd path
This is path to protractor.cmd file which is usually located in \node_modules.bin\protractor.cmd.
Protractor js config path
This is path to protractor config file with js extension. If you are using typescript this path must be setted to file after transpile(js).
Features dir path
This is path to directory which contains feature files.
At the beginning of file there is a icon which will execute whole Feature.
In every line that match regex for Scenario is icon which will execute only single scenario.
Output of executing is in Gherkin Runner tab which contains bookmarks like Run1, Run2 etc.
In the end it will run protractor in command line like:
protractor full_path_to_protractor_config_js --specs=full_path_to_feature_file(when running certain scenario it will add line when it starts like ":12")