Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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