Remove Project in Pycharm

There are a few ways you can use to remove projects from PyCharm. In this tutorial, I’ll show you a few of them.

Let’s go through those steps in an example with pictures. The pictures used here are those of PyCharm 2022.2 Community Edition, but the approach of removing projects has been tested for PyCharm 2016 and later.

Step 0: Open one PyCharm project

The following Figure shows a landing page when I open PyCharm. We need to take note of two things – the project name, and its location.

Step 1: Close the project

Click “File” on the navigation bar and “Close Project”.

Step 2: Take note of the projects you have and their locations

After clicking “Close Project”, take note of the location of the project(s) you wish to delete.

If I want to remove “example_project2“, then its location is in my home directory (~) under the PyCharmProjects directory.

Note: By default, PyCharm saves its projects in the PyCharmProjects folder in the home directory. The home directory is located on “C:\Users\<username>” on Windows and “/home/<username>” on Linux.

Step 3: Remove Project from recents

Hover over the project you want to remove, right-click, and “Remove from Recent Projects”. That removes the project from the recents (the window in Step 2) but not the actual project.

Step 4: Remove the actual project folder(s)

You can now remove projects based on the path(s) established in step 2. In my case, two of my projects are located in the PyCharmProjects folder in the home directory, ~/PyCharmProjects/example_project1 and ~/PyCharmProjects/example_project2.

Removing the two projects entails deleting the folders. You can highlight the folders you want to remove and hit the “delete” key.

Alternatively, you can use the rm command on Linux or macOS. For example, I will execute the following command in the terminal to remove the “example_project1” project.