curl -fsSL https://gist.githubusercontent.com/jessenich/70dc81bddfc00bb3a354139bc7fec6b2/raw/install-jetbrains-toolbox-ubuntu.sh | /bin/bash
Last active
September 23, 2022 23:06
-
-
Save jessenich/70dc81bddfc00bb3a354139bc7fec6b2 to your computer and use it in GitHub Desktop.
Install JetBrains Toolbox for Ubuntu
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 "Starting JetBrains Toolbox installation..." | |
wget --show-progress -qO ./toolbox.tar.gz "https://data.services.jetbrains.com/products/download?platform=linux&code=TBA" | |
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
Thanks! Updated.