I want to type the script "code ." in terminal in order to open my code editor, PhpStorm. How can I do that?
The code
command is used to open VS Code specifically. PhpStorm doesn't come with a command-line interface, but you can create one by following this tutorial (you will need the Toolbox app in order to generate a shell script if an alias isn't enough for you): https://www.jetbrains.com/help/phpstorm/working-with-the-ide-features-from-command-line.html