PyCharm 2020 Silent Install (How-To Guide)


PyCharm is an integrated development environment used in computer programming, specifically for the Python language. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of PyCharm from the command line using the EXE installer.

How to Install PyCharm Silently

PyCharm Community Edition 2020 Silent Install (EXE)

  1. Download the PyCharm Community Edition 2020 Installer
  2. Download the file to a folder created at (C:\Downloads)
  3. Open Notepad or your favorite text editor
  4. Add the following lines:
mode=admin
launcher32=1
  1. Save the file to the C:\Downloads directory and name it: silent.config
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • pycharm-community-2020.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\PyCharm 2020
  5. Press Enter

After a few minutes you should see the PyCharm Community Edition 2020 Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:PyCharm Community Edition 2020
Vendor:JetBrains s.r.o
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:pycharm-community-2020.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\PyCharm 2020
Silent Uninstall Switch:"%ProgramFiles%\PyCharm 2020\bin\Uninstall.exe" /S
Download Link:https://www.jetbrains.com/pycharm/download/#section=windows

PyCharm Professional Edition 2020 Silent Install (EXE)

  1. Download the PyCharm Professional Edition 2020 Installer
  2. Download the file to a folder created at (C:\Downloads)
  3. Open Notepad or your favorite text editor
  4. Add the following lines:
mode=admin
launcher32=1
  1. Save the file to the C:\Downloads directory and name it: silent.config
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • pycharm-professional-2020.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\PyCharm 2020
  5. Press Enter

After a few minutes you should see the PyCharm 2020 Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:PyCharm Professional Edition 2020
Vendor:JetBrains s.r.o
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:pycharm-professional-2020.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\PyCharm 2020
Silent Uninstall Switch:"%ProgramFiles%\PyCharm 2020\bin\Uninstall.exe" /S
Download Link:https://www.jetbrains.com/pycharm/download/#section=windows

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 Installation Log File

The PyCharm 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.

PyCharm Community Edition 2020 Silent Install with Logging

pycharm-community-2020.x.x.exe /S /CONFIG=.\silent.config /LOG=C:\Windows\Temp\pyCharm-Install.log /D=C:\Program Files\PyCharm 2020

PyCharm Professional Edition 2020 Silent Install with Logging

pycharm-professional-2020.x.x.exe /S /CONFIG=.\silent.config /LOG=C:\Windows\Temp\pyCharm-Install.log /D=C:\Program Files\PyCharm 2020

Exclude Desktop Shortcut During PyCharm Install

  1. Open the silent.config file mentioned above with Notepad
  2. Modify the following line or exclude it all together
launcher32=0
  1. Save the file to update the changes
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • pycharm-community-2020.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\PyCharm 2020
  5. Press Enter

Add the Launchers Path to the PATH Environment Variable

  1. Open the silent.config file mentioned above with Notepad
  2. Add the following line:
updatePATH=1
  1. Save the file to update the changes
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • pycharm-community-2020.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\PyCharm 2020
  5. Press Enter

Add “Open Folder as Project” to Context Menu

  1. Open the silent.config file mentioned above with Notepad
  2. Add the following line:
updateContextMenu=1
  1. Save the file to update the changes
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • pycharm-community-2020.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\PyCharm 2020
  5. Press Enter

Regenerating the Shared Archive

  1. Open the silent.config file mentioned above with Notepad
  2. Add the following line:
regenerationSharedArchive=1
  1. Save the file to update the changes
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • pycharm-community-2020.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\PyCharm 2020
  5. Press Enter

Register File Association

  • Open the silent.config file mentioned above with Notepad
  • Add the following line for python file association:
.py=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:
    • pycharm-community-2020.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\PyCharm 2020
  • Press Enter

How to Uninstall PyCharm Silently

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

PyCharm Community Edition 2020 Silent Uninstall (EXE)

"%ProgramFiles%\PyCharm 2020\bin\Uninstall.exe" /S

PyCharm Professional Edition 2020 Silent Uninstall (EXE)

"%ProgramFiles%\PyCharm 2020\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.

Recent Posts