IntelliJ IDEA is an integrated development environment (IDE) written in Java for developing computer software. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of IntelliJ IDEA 2023 from the command line using the EXE installer.
How to Install IntelliJ IDEA 2023 Silently
IntelliJ IDEA Community Edition 2023 Silent Install (EXE)
Under Version 2023.x, select the Community EditionEXE
Download the ideaIC-2023.x.x.exe to a folder created at (C:\Downloads)
OpenNotepad or your favorite text editor
Add the following lines:
mode=admin launcher64=1
Save the file to the C:\Downloads directory and name it: silent.config
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
ideaIC-2023.x.x.exe /S /CONFIG=.\silent.config
Press Enter
After a few minutes you should see the IntelliJ IDEA 2023 Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title:
IntelliJ IDEA Community Edition 2023
Vendor:
JetBrains s.r.o
Architecture:
x86_x64
Installer Type:
EXE
Silent Install Switch:
ideaIC-2023.x.x.exe /S /CONFIG=.\silent.config
Silent Uninstall Switch:
"%ProgramFiles%\IntelliJ IDEA 2023\bin\Uninstall.exe" /S
Under Version 2023.x, select the Ultimate Edition EXE
Download the ideaIU-2023.x.x.exe to a folder created at (C:\Downloads)
OpenNotepad or your favorite text editor
Add the following lines:
mode=admin launcher64=1
Save the file to the C:\Downloads directory and name it: silent.config
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
ideaIU-2023.x.x.exe /S /CONFIG=.\silent.config
Press Enter
After a few minutes you should see the IntelliJ IDEA 2023 Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title:
IntelliJ IDEA Ultimate Edition 2023
Vendor:
JetBrains s.r.o
Architecture:
x86_x64
Installer Type:
EXE
Silent Install Switch:
ideaIU-2023.x.x.exe /S /CONFIG=.\silent.config
Silent Uninstall Switch:
"%ProgramFiles%\IntelliJ IDEA 2023\bin\Uninstall.exe" /S
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an IntelliJ IDEA 2023 Installation Log File
The IntelliJ IDEA installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
IntelliJ IDEA Community Edition 2023 Silent Install with Logging
Change the IntelliJ IDEA 2023 Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing IntelliJ IDEA to “C:\IntelliJ IDEA 2023”
ideaIC-2023.x.x.exe /S /CONFIG=.\silent.config /D=C:\IntelliJ IDEA 2023
Exclude Desktop Shortcut During IntelliJ IDEA Install
Open the silent.config file mentioned above with Notepad
Modify the following line or exclude it all together
launcher64=0
Save the file to update the changes
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
ideaIC-2023.x.x.exe /S /CONFIG=.\silent.config
Press Enter
Add the Launchers Path to the PATH Environment Variable
Open the silent.config file mentioned above with Notepad
Add the following line:
updatePATH=1
Save the file to update the changes
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
ideaIC-2023.x.x.exe /S /CONFIG=.\silent.config
Press Enter
Add “Open Folder as Project” to Context Menu
Open the silent.config file mentioned above with Notepad
Add the following line:
updateContextMenu=1
Save the file to update the changes
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
ideaIC-2023.x.x.exe /S /CONFIG=.\silent.config
Press Enter
Regenerating the Shared Archive
Open the silent.config file mentioned above with Notepad
Add the following line:
regenerationSharedArchive=1
Save the file to update the changes
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
ideaIC-2023.x.x.exe /S /CONFIG=.\silent.config
Press Enter
Register File Associations
Open the silent.config file mentioned above with Notepad
Add the following line for java file association:
.java=1
Add the following line for groovy file association:
.groovy=1
Add the following line for kt file association:
.kt=1
Save the file to update the changes
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads folder
Enter the following command:
ideaIC-2023.x.x.exe /S /CONFIG=.\silent.config
Press Enter
IntelliJ IDEA Silent Configuration Template (silent.config)
; Installation mode. It can be user or admin.
; NOTE: for admin mode please use "Run as Administrator" for command prompt to avoid UAC dialog.
mode=admin
; Desktop shortcut for launchers
launcher32=0
launcher64=1
; Add launchers path to PATH env variable
updatePATH=0
; Add "Open Folder as Project" to context menu
updateContextMenu=1
; Download and install jre32
jre32=0
; Regenerating the Shared Archive
; https://docs.oracle.com/en/java/javase/11/vm/class-data-sharing.html
regenerationSharedArchive=1
; List of associations. To create an association change value to 1.
.java=0
.groovy=0
.kt=0
Suppress IntelliJ IDEA 2023 EULA
Suppress IntelliJ IDEA Community Edition 2023 EULA
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Enter one of the following commands:
IntelliJ IDEA Community Edition 2023 Silent Uninstall (EXE)
"%ProgramFiles%\IntelliJ IDEA 2023\bin\Uninstall.exe" /S
IntelliJ IDEA Ultimate Edition 2023 Silent Uninstall (EXE)
"%ProgramFiles%\IntelliJ IDEA 2023\bin\Uninstall.exe" /S
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.