Forked from abn/fedora-install-jetbrains-toolbox.sh
Last active
March 7, 2026 16:05
-
-
Save danvisx/79ab5e199c1c90cdb9a4255546123033 to your computer and use it in GitHub Desktop.
Install JetBrains Toolbox on Fedora (run without sudo)
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 | |
| set -o pipefail | |
| sudo dnf install -y jq | |
| # switch this to eap if you require the early access version | |
| RELEASE_TYPE=release | |
| TOOLBOX_BIN_DIR=${HOME}/.local/share/JetBrains/Toolbox/bin | |
| # if you have an existing install you should consider removing this directory first | |
| install -d ${TOOLBOX_BIN_DIR} | |
| curl -sL \ | |
| $(curl -s "https://data.services.jetbrains.com/products/releases?code=TBA&latest=true&type=${RELEASE_TYPE}" \ | |
| | jq -r '.TBA[0].downloads.linux.link') \ | |
| | tar xzvf - \ | |
| --directory="${TOOLBOX_BIN_DIR}" \ | |
| --strip-components=2 | |
| # make a bin dir and create symlink | |
| install -d "${TOOLBOX_BIN_DIR}" | |
| mkdir -p "${HOME}/.local/bin" | |
| ln -sf ${TOOLBOX_BIN_DIR}/jetbrains-toolbox ${HOME}/.local/bin/jetbrains-toolbox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment