Skip to content

Instantly share code, notes, and snippets.

@rahulvramesh
Forked from greeflas/install-toolbox.sh
Created February 15, 2022 07:57
Show Gist options
  • Save rahulvramesh/cb1b41b0574d6998b6bcba346dacda9e to your computer and use it in GitHub Desktop.
Save rahulvramesh/cb1b41b0574d6998b6bcba346dacda9e 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