Reference:

https://lucymarmitchell.medium.com/how-to-open-webstorm-from-the-terminal-on-macos-b3de2f82b874

 

To set up a shortcut to open WebStorm:

  1. Open WebStorm
  2. Press `⇧` twice to open the search window
  3. Type “Create Command Line Launcher…” and press Enter