-
-
Save antelio/15bbc9353617d3882e091ec20e432262 to your computer and use it in GitHub Desktop.
JetBrains Toolbox installation script for Ubuntu - https://www.jetbrains.com/toolbox/app/
This file contains hidden or 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 | |
set -e | |
if [ -d ~/.local/share/JetBrains/Toolbox ]; then | |
echo "JetBrains Toolbox is already installed!" | |
exit 0 | |
fi | |
echo "Start installation..." | |
wget --show-progress -qO ./toolbox.tar.gz https://download-cf.jetbrains.com/toolbox/jetbrains-toolbox-1.20.8352.tar.gz | |
TOOLBOX_TEMP_DIR=$(mktemp -d) | |
tar -C "$TOOLBOX_TEMP_DIR" -xf toolbox.tar.gz | |
rm ./toolbox.tar.gz | |
"$TOOLBOX_TEMP_DIR"/*/jetbrains-toolbox | |
rm -r "$TOOLBOX_TEMP_DIR" | |
echo "JetBrains Toolbox was successfully installed!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment