Toolbox App CLI
The Toolbox App CLI binary can be used to perform common operations, such as installing and upgrading IDEs. Additionally, it is required by the Toolbox App to connect to host IDEs. The command-line interface is very much work-in-progress, but this section lists some useful commands that can be already tested now.
Obtaining the CLI
Currently, the CLI is distributed as a JAR file and, as such, requires a JRE to run. It will eventually be built as a self-contained binary that has no external dependencies.
Set up environment
The JAR can be downloaded from URL. The location of the file for CLI usage does not matter. In order for SSH flows to be able to find the binary, follow these steps:
Tool installation
Invoke the following command to install the specified version of the IDE:
Check the following example:
Tools detection
The Toolbox App CLI can detect externally installed JetBrains tools.
it scans HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
and HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
registry hives and also ProgramFiles
or SystemDrive\Program Files
(FOLDERID_ProgramFiles), and LOCALAPPDATA\Programs
(FOLDERID_UserProgramFiles).
It scans /Applications and ~/Applications
It scans all *.desktop files in $XDG_DATA_HOME/applications
(~/.local/share/applications
by default)