Reference and fork from, https://gist.github.com/abn/022c5f9eae491687a766f25bd8322fc0
Copy and paste the following command to your terminal
bash -c "$(curl -fsSL https://gist.githubusercontent.com/weehong/0bf6b75c54b56d5cbbc33752c93dac8b/raw/f8bcdbcc8cfbb93909916e25ef1fe29fb966a0f3/install-jetbrains-toolbox.sh)"