

You can now open PhpStorm from terminal with the following command. OK, now you have the binary located in bin directory. You can create that symbolic link to /usr/bin/yourname. If you want to run PhpStorm as another name like yourname. And /usr/bin/phpstorm you can make it however you want. In the above command, change your directory as per your downloaded version.
#How to install webstorm cli code#
In the above code /opt/PhpStorm-121.390/bin/phpstorm.sh is your PhpStorm’s phpstorm.sh executable file location and phpstorm word from usr/bin/phpstorm this is the assigned command to run PHPStorm IDE from your terminal. sudo ln -s /opt/PhpStorm-121.390/bin/phpstorm.sh /usr/bin/phpstorm To do that, run the following command to create PhpStorm symbolic link to /usr/bin/phpstorm. To run PhpStorm from command line, you need to create a symbolic link of the original executable as a binary. So we have to create our own command, create own launcher for our Ubuntu and any other Linux OS. But unfortunately PhpStorm doesn’t provide any installer. For most of the linux system we prefer to run any application directly from terminal as root or as normal user. It’s sometimes uneasy to open file explorer and find the PhpStorm executable to run it. Run PhpStorm from terminal as normal user or root

For this tutorial, I have extracted PhpStorm in /opt directory. After downloading extract that and keep it in a directory. It will download the latest version based on your operating system.

To download JetBrains PhpStorm, you need to go to website and click on the download button. Run PhpStorm from terminal as normal user or rootīefore going further down, you need to download PhpStorm first.
