[Nanny level tutorial] Obviously installed Pycharm on the D drive, but still occupy the space of the C drive crazily?

Solve the problem that Pycharm occupies the C drive

1. Important Reminder

If you are using the permanent version of Pycharm, don't solve this problem, because the author follows the steps below, and after solving it, the permanent version of Pycharm will not be available! Helpless, it returned to its original state! If it's not a permanent version of Pycharm, then maybe you can try it, and if it's a big deal, just restore it back.

2. Background introduction

Recently, when the author installed software on a new computer,Obviously installed Pycharm on the D drive, but checked its properties and found that it was only 808MB? Something just doesn't feel right all the time.

insert image description here

So, I checked carefully and found thatThere is an additional [.PyCharm2018.3] folder in the [C:\Users\Administrator] directory of the C drive, which occupies more than 2 G. This is because Pycharm will create a .Pycharm folder in the "User" directory when it starts, and with the use of Pycharm, the space will gradually increase, occupying a lot of C disk space, it is necessary to move to other disks.

insert image description here

3. Solutions

In order to safely move the [.PyCharm2018.3] folder in the C drive to a suitable location, you can refer to the following steps.

As a first step, you canThe [.PyCharm2018.3] folder in the C drive is moved toA certain location on the D disk or other disks, here I suggest to put it inIn the installation directory of your own Pycharm. When I installed Pycharm before, I put it in the [D:\software\Pycharm2018_3_3] directory, so I put the [.PyCharm2018.3] folder in the C drive also in [D:\software\Pycharm2018_3_3] , as follows:

insert image description here

Step two:Enter the bin directory of Pycharm, open idea.properties with Notepad, and modify its default path,As shown below

insert image description here

insert image description here
third step:Just restart Pycharm

Guess you like

Origin blog.csdn.net/qq_40968179/article/details/128993033