

Great! So today I just told you how to run PhpStorm from terminal in Ubuntu and create launcher icon in Ubuntu for PhpStorm. After running it first time you can pin it to the sidebar or you will get the PhpStorm icon. And type the following command to run PhpStorm. Save this file and restart your terminal. # From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413. # Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
#Phpstorm go to line code#
Then write the following code in newly created blank text file. Now to create launcher in Ubuntu Unity we just need to create sktop file in /usr/share/applications with the following snippet :Ĭreate sktop file by typing the following command : sudo gedit /usr/share/applications/sktop Then we can directly create launcher icon of PhpStorm so like other program, we can just run PhpStorm by clicking on the icon. Sometimes we don’t feel OK to run anything from terminal because of wrong command or we forget some useful commands. So the final command to run open PhpStorm from terminal with sudo privilege is – sudo phpstorm Create PhpStorm Launcher in Ubuntu $ phpstorm Run PhpStorm as sudoĮverything is same. 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. 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.
