Follow the instructions here in the link below:
https://www.jetbrains.com/help/pycharm/2024.3/working-with-the-ide-features-from-command-line.html?Working_with_the_IDE_Features_from_Command_Line