Silent installation of JetBrains Toolbox App on Windows
A silent installation may be needed if you want to automate the installation using third-party tools.
Starting with the JetBrains Toolbox version 2.4 on Windows OS, you can achieve this using CLI commands.
Install
By default, only the installation is performed without launching the application. You can manage this behavior by setting an environment variable.
Set the environment variable to 1
to launch the Toolbox App after installation. A value of 0
equals the default state, and the Toolbox App will not launch after installation.
$env: START_JETBRAINS_TOOLBOX_AFTER_INSTALL=1
Automatic installation with showing UI installer
To install with the UI showing, use the /silent
or /s
argument. No user interaction is required.
Start-Process -FilePath ".\jetbrains-toolbox-<build>.exe" -ArgumentList "/silent"
Automatic installation without showing UI installer
The installation is run completely in the background.
Start-Process -FilePath ".\jetbrains-toolbox-<build>.exe" -ArgumentList "/headless"
Uninstall
Automatic uninstallation with showing UI installer
To uninstall with the UI showing, use the /silent
or /s
argument. No user interaction is required.
Start-Process -FilePath "C:\Users\$Env:USERNAME\AppData\Local\JetBrains\Toolbox\bin\Uninstall.exe" -ArgumentList "/silent"
Automatic uninstallation without showing UI installer
Uninstallation is run completely in the background.
Start-Process -FilePath "C:\Users\$Env:USERNAME\AppData\Local\JetBrains\Toolbox\bin\Uninstall.exe" -ArgumentList "/headless"
Please sign in to leave a comment.
Your Install Command simply does not work.