Automating Toolbox Setup
I like to switch between Linux installations quite a bit, and while Ive automated most of my setup, Jetbrains IDEs, which I use extensively, are always the hardest part to get setup with because there is no automation that Im aware of. I want to be able to automate things like:
- Download & install Toolbox with wget/curl
- Startup Toolbox with my account credentials pre-provided
- Tell Toolbox to install the latest stable version of IntelliJ and DataGrip and the latest EAP/RC for Webstorm
- IntelliJ to import specific projects from specific folders using a pom.xml
- Tweak some defaults in debugging behavior in Webstorm (possibly doable by just passing around workspace files, not sure yet)
etc.
Does anyone know how to do some or all of these things?
Thanks
Please sign in to leave a comment.
I'm looking for an automated install as well. It seems obvious that the toolbox should provide a CLI. Anyhow, I created a script for installing toolbox:
I havent had much time to work on this recently, but thanks for the tips, Ill definitely check this out!
In case anyone stumbles upon this: I wanted to do something similar so I created a chef resource:
https://github.com/codenamephp/chef.cookbook.dev/blob/dev/resources/jetbrains_toolbox.rb
What it does:
Even if you don't use chef the resource is pretty easy to read, and combined with the shell script above you can easily come up with a solution.
I will continue to look into pre-setting the Account though I'm not sure yet if it's worth the effort (you have to provide your Password or at least the OAuth consent anyway)
This is awesome!! Thank you
In order to make AppImage run, Linux users need to install FUSE someway... Check https://github.com/AppImage/AppImageKit/wiki/FUSE for that.
Next, you can use "jetbrains-toolbox.sh" installation script at https://github.com/nagygergo/jetbrains-toolbox-install to install the AppImage installer under /opt/jetbrains-toolbox, and this script also creates a link to /usr/local/bin/jetbrains-toolbox for global use. Use this script and run jetbrains-toolbox. (This script was mentioned at some versions of the documentation at https://www.jetbrains.com/help/idea/installation-guide.html#toolbox but removed at latest version of it.)
(Update: last week, this install script is updated in order to make a more correct symbolic link. But this made it unable to use from other users. I created an issue about it at https://github.com/nagygergo/jetbrains-toolbox-install/issues/18 )
For example, my system is Ubuntu 22.04.2 LTS and my install/upgrade script is this:
Unfortunately, the problem with FUSE is known and is being investigated in our bug tracker. Please feel free to track it here https://youtrack.jetbrains.com/issue/TBX-7534/Ubuntu-22.04-missing-fuse2-libraries
That was the ticket for me. I haven't figured out yet why several of my machines don't need this fix, and my monster devo machine does. My best guess is that the monster devo machine doesn't have a DVD drive, and I suspect the automated setup of the DVD happens to solve the FUSE problem as well. Given that Ubuntu is, in my opinion, the best choice for general-purpose software engineering desktop use. It makes no sense to me that they don't fix this once and for all.
Thank you very much for sharing this.