Skip to content

Instantly share code, notes, and snippets.

@jessenich
Last active September 23, 2022 23:06
Show Gist options
  • Save jessenich/70dc81bddfc00bb3a354139bc7fec6b2 to your computer and use it in GitHub Desktop.
Save jessenich/70dc81bddfc00bb3a354139bc7fec6b2 to your computer and use it in GitHub Desktop.
Install JetBrains Toolbox for Ubuntu
curl -fsSL https://gist.githubusercontent.com/jessenich/70dc81bddfc00bb3a354139bc7fec6b2/raw/install-jetbrains-toolbox-ubuntu.sh | /bin/bash
#!/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!"
@jessenich
Copy link
Author

In your README your forgot the curl command so it should be

curl https://gist.githubusercontent.com/jessenich/70dc81bddfc00bb3a354139bc7fec6b2/raw/install-jetbrains-toolbox-ubuntu.sh | /bin/bash

Otherwise great script, thanks for making this!

Thanks! Updated.

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