Skip to content

Instantly share code, notes, and snippets.

Created July 20, 2017 07:58
  • Star 15 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save olivertappin/e5920e131db9a451c91aa6e2bc24dc40 to your computer and use it in GitHub Desktop.
Download and install the latest version of PhpStorm for Ubunti
if [ "$(whoami)" != "root" ]
echo "Sorry, you are not root."
exit 1
echo "Downloading the latest PhpStorm to /tmp"
cd /tmp
curl -Lo PhpStorm.tar.gz ""
tar -xzf /tmp/PhpStorm.tar.gz
rm /tmp/PhpStorm.tar.gz
echo "Removing old PhpStorm"
rm -rf /opt/phpstorm
echo "Copying new PhpStorm"
mv /tmp/PhpStorm* /opt/phpstorm
echo "New PhpStorm has been installed"
Copy link

Jekis commented Aug 11, 2017

Thank you

Copy link

Thanks, it works

Copy link

zabidok commented Sep 13, 2017

New similar script for install or update(auto) jetbrains products like phpstorm, webstorm and other. + java + non latin hotkeys fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment