Install PhpStorm with Snaps

Exciting news for Linux users: you can now use snaps to install PhpStorm builds. Snaps will update your app automatically, and you’ll always have a fresh PhpStorm build right out of the oven. Snaps are really easy to install and use. On Ubuntu 16.04 LTS or later, snaps come pre-installed. On other Linux distributions, you will need to install snaps first, as described here.

We currently distribute PhpStorm on the Edge and Stable channel where we store our EAP and stable builds, correspondingly. To install PhpStorm EAP via Snaps from the command-line, run the following command:

sudo snap install phpstorm --classic --edge

To install stable:

sudo snap install phpstorm --classic

To run PhpStorm, run this snap command: phpstorm

As an alternative, you can always use Toolbox App to install and update PhpStorm.

We would like to know what you think about snaps. Add your comments here or tweet @phpstorm. Your feedback is welcome!

This entry was posted in Cool Feature, Tutorial and tagged , , . Bookmark the permalink.
  • http://funivan.com/ Funivan

    Awesome.

  • Stephan Hochdörfer

    Nice.

  • https://ruchern.com ruchern

    This is great news for a CLI guy.

  • Kirill

    So how do I start it from desktop icon? Is it possible to add desktop icon?

    • Eugene Morozov

      Just start it via Command Line and click Tools | Create desktop entry.

    • Eugene Morozov

      I was not right about that. It turned out there’s no such a menu entry for a Snap installation.
      In fact, a desktop entry should be created automatically.
      Could you please check if you have one in /snap/phpstorm/current/meta/gui ?
      If you do, doesn’t it show up when you enter PhpStorm in Applications?

  • Danielx64

    Is it possible to select the version of phpstorm to install?

    • Eugene Morozov

      I was not right about that. It turned out there’s no such a menu entry for a Snap installation.
      In fact, a desktop entry should be created automatically.
      Could you please check if you have one in /snap/phpstorm/current/meta/gui ?
      If you do, doesn’t it show up when you enter PhpStorm in Applications?

    • Dmitry Tronin

      Not yet. Only latest version is distributed this way

  • Klaas Tammling

    Ok. I’ve used snap install phpstorm –classic and I don’t have any menu entry or command on the CLI to run phpstorm. So for some reason it is not really working.

    • Eugene Morozov

      Please check if you have a .desktop file created in /snap/phpstorm/current/meta/gui
      If you do – your DE must be not supporting Snapcraft.
      Meanwhile, you can start PhpStorm with /snap/bin/phpstorm
      You can add /snap/bin to $PATH to be able to run software installed with snap from Terminal.