Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is PyCharm's projects directory located?

Tags:

pycharm

I'm trying to find the directory where all projects are stored within PyCharm's settings, but it's not clear where it's located.

like image 286
XY6 Avatar asked Sep 06 '25 03:09

XY6


1 Answers

Pycharm has a default project location (which might depend on the PyCharm version and/or OS). At least in some cases it's ~/PyCharmProjects.

Note that this default location shows up just as a suggestion when a new project is created, but one can choose a different location.

It's also possible to change the default project location, see Change the default location of Pycharm Project

Pycharm also support creating projects from code already existing in some directory, in which case the above-mentioned suggestion is not even made.

With these in mind, if you really want to find all PyCharm projects you'd need to do a search for the .idea directories in which PyCharm stores its per-project settings.

But note that several other JetBrains Idea-based products beside PyCharm use the same directory name for the same purpose, so, if you have other such products installed you'd need to take a closer look to see which of such projects are PyCharm projects. An explanation for what's in that directory can be found in How to manage projects under Version Control Systems (applicable to all of their Idea-based products, not just PyCharm)

like image 95
Dan Cornilescu Avatar answered Sep 07 '25 22:09

Dan Cornilescu