Skip to content

Instantly share code, notes, and snippets.

@dragid10
Forked from greeflas/install-toolbox.sh
Created July 21, 2022 00:13
Show Gist options
  • Save dragid10/5fda7690e783940a6ad0fcd17c53dc40 to your computer and use it in GitHub Desktop.
Save dragid10/5fda7690e783940a6ad0fcd17c53dc40 to your computer and use it in GitHub Desktop.
JetBrains Toolbox installation script for Ubuntu - https://www.jetbrains.com/toolbox/app/

To install just run following command

curl https://gist.githubusercontent.com/greeflas/431bc50c23532eee8a7d6c1d603f3921/raw | bash

#!/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://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