Download them from JetBrains website
Copy them under /opt, I have created a subfolder called jetbrains.
Use update-alternatives to do the magic
# update-alternatives --install /usr/local/bin/webstorm webstorm /opt/jetbrains/WebStorm-143.1559.5/bin/webstorm.sh 1# update-alternatives --install /usr/local/bin/pycharm pycharm /opt/jetbrains/pycharm-5.0.3/bin/pycharm.sh 1
This is obviously valid for IntelliJ IDEA, PhpStorm, CLion, etc.