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/cf1357a4d9c56a471c9c05d2dde0e56f0a694328/install-jetbrains-toolbox.sh)"