macOS installer shell path management improvements
@ned-deily is already working on this.
Since Aug 6, 2025.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
The macOS Python installers provided on python.org with each Python release have long provided a fairly primitive mechanism to ensure the newly-installed Python is available on the user's shell PATH. A postinstall script is run by default by the installer which attempts to modify the user's login shell's profile to add the Python framework's bin directory to the shell PATH. A copy of the script is also included by default in the /Applications/Python 3.x directory. There are a number of shortcomings with this approach. This issue is a placeholder for upcoming work in this area.
Linked PRs
- gh-137451
- gh-137452
- gh-137453
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.