Created
July 20, 2017 07:58
-
-
Save olivertappin/e5920e131db9a451c91aa6e2bc24dc40 to your computer and use it in GitHub Desktop.
Download and install the latest version of PhpStorm for Ubunti
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$(whoami)" != "root" ] | |
then | |
echo "Sorry, you are not root." | |
exit 1 | |
fi | |
echo "Downloading the latest PhpStorm to /tmp" | |
cd /tmp | |
curl -Lo PhpStorm.tar.gz "https://data.services.jetbrains.com/products/download?code=PS&platform=linux" | |
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" |
Thanks, it works
New similar script for install or update(auto) jetbrains products like phpstorm, webstorm and other. + java + non latin hotkeys fixes
https://gist.github.com/zabidok/8418c4f679741f585ac9ce90b16fb8a5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you