PyCharm on the Command Line

Date: 09 December 2020

Category: Python

Tag: PyCharm

Following the PyCharm documentation, create /usr/local/bin/pycharm and populate it with:

#!/bin/sh

open -na "PyCharm.app" --args "$@"

Make sure to then also run: chmod +x /usr/local/bin/pycharm.

PyCharm can then be opened in the current directory by executing: pycharm .; see the PyCharm documentation for further options.