Remove old versions of PHPStorm

Hello

I'm getting slowly out of space on my drive C and searching for it i found i have many old versions of PHPStorm installed.

Whenever there is update, it looks like it install new version next to old one not removing old.

Is there any tool to remove all old versions of PHPStorm without risking of losing any config or anything important? So far i found about 20GB and and i'm not sure if I found everything and what i can remove without loosing anything. What i found so far:

c:\Program Files\JetBrains\PhpStorm 2017.1.4\
c:\Program Files\JetBrains\PhpStorm 2017.3\
c:\Program Files\JetBrains\PhpStorm 2017.3.3\
c:\Program Files\JetBrains\PhpStorm 2018.1\
c:\Program Files (x86)\JetBrains\PhpStorm 10.0.2\
c:\Users\%username%\.PhpStorm2019.3\
c:\Users\%username%\AppData\Local\JetBrains\PhpStorm2020.1\
c:\Users\%username%\AppData\Local\JetBrains\PhpStorm2020.2\
c:\Users\%username%\AppData\Local\JetBrains\PhpStorm2020.3\
c:\Users\%username%\AppData\Local\JetBrains\Toolbox\apps\PhpStorm\
c:\Users\%username%\AppData\Local\JetBrains\Toolbox\apps\PhpStorm\ch-0\203.7148.74\
c:\Users\%username%\AppData\Local\JetBrains\Toolbox\apps\PhpStorm\ch-0\203.7717.64\
c:\Users\%username%\AppData\Roaming\JetBrains\Phpstorm\
c:\Users\%username%\AppData\Roaming\JetBrains\PhpStorm2020.1\
c:\Users\%username%\AppData\Roaming\JetBrains\PhpStorm2020.2\
c:\Users\%username%\AppData\Roaming\JetBrains\PhpStorm2020.3\

and some more smaller directories

1

Hi there,

The folders used by the current IDE version: https://www.jetbrains.com/help/phpstorm/tuning-the-ide.html#default-dirs

What's your current IDE version?

If it is 2021.1 then you can safely delete almost all those folders that you have mentioned in your opening post that have version number in it (or a build number) and it is lower than you current one. E.g.

c:\Program Files\JetBrains\PhpStorm 2017.1.4\
c:\Program Files\JetBrains\PhpStorm 2017.3\
c:\Program Files\JetBrains\PhpStorm 2017.3.3\
c:\Program Files\JetBrains\PhpStorm 2018.1\
c:\Program Files (x86)\JetBrains\PhpStorm 10.0.2\
c:\Users\%username%\.PhpStorm2019.3\
c:\Users\%username%\AppData\Local\JetBrains\PhpStorm2020.1\
c:\Users\%username%\AppData\Local\JetBrains\PhpStorm2020.2\
c:\Users\%username%\AppData\Local\JetBrains\PhpStorm2020.3\
c:\Users\%username%\AppData\Local\JetBrains\Toolbox\apps\PhpStorm\ch-0\203.7148.74\
c:\Users\%username%\AppData\Local\JetBrains\Toolbox\apps\PhpStorm\ch-0\203.7717.64\
c:\Users\%username%\AppData\Roaming\JetBrains\PhpStorm2020.1\
c:\Users\%username%\AppData\Roaming\JetBrains\PhpStorm2020.2\
c:\Users\%username%\AppData\Roaming\JetBrains\PhpStorm2020.3\

The folders to keep (for 2021.1 version):

C:\Users\USERNAME\AppData\Roaming\JetBrains
C:\Users\USERNAME\AppData\Local\JetBrains\PhpStorm2021.1

 

A note on this path:

c:\Users\%username%\AppData\Local\JetBrains\Toolbox\apps\PhpStorm\ch-0\203.7148.74\

It means that the IDE was installed using JetBrains Toolbox App and not standalone installer (which uses c:\Program Files\JetBrains\PhpStorm xxxx.x\ paths) . If you are using Toolbox App then try removing old versions there. If some files left over -- delete them manually. "203.7148.74" is the IDE build -- check "Help | About..." to see the build number.

 

P.S. If unsure: make a backup first. Before deleting you can just move such folder to another location / rename it; then launch your current IDE version and see if it still works/has your settings.

0

Also, there is a request for the leftovers removal during the installation:

https://youtrack.jetbrains.com/issue/IDEA-165872

0

To remove old versions of all installed tools using Toolbox:

1. Go to Settings ⚙️

2. Scroll down and search for the link 🔗 "Remove the previous versions..."

0

I was looking around to find an oıder version. This is not something JetBrains has been providing to thousands of developers for years. If you too much like VSCode, I am going. 

0

Menu → Help → Delete Leftover IDE Directories ...

0

请先登录再写评论。