Usage¶
Updating Python¶
Update your currently running Python version to its latest patch release, also known as a micro release (for example from 3.13.2 to 3.13.7):
mopup update
Upgrade your currently running Python to a newer minor release (for example from 3.13 to 3.14):
mopup update --minor=true
Update Python using the GUI installer:
mopup update --interactive=true
Check for updates without installing (dry run):
mopup update --dry-run=true
Uninstalling Python¶
Uninstalling with MOPUp removes all files and directories installed by
a specific Python.org installer. It will also remove any Python packages
installed within that Python version’s site-packages directory.
However, it will refuse to uninstall if it detects extra files or
directories within that installation that were not listed by the
installer’s manifest or any installed Python package’s .dist-info.
Uninstall a specific Python version:
mopup uninstall 3.14
Preview what would be uninstalled without actually removing:
mopup uninstall 3.14 --dry-run=true
Force uninstall even if extra files are present:
mopup uninstall 3.14 --force=true
Command Reference¶
mopup¶
MOPUp - the (m)ac(O)S (P)ython.org (Up)dater
Tool for managing Python.org installations on macOS.
mopup [OPTIONS] COMMAND [ARGS]...
list¶
List all Python versions installed with official Python.org installers.
Shows the exact versions of Python installed on the system.
mopup list [OPTIONS]
uninstall¶
Uninstall a specific Python version.
Removes all files and packages associated with the specified Python version.
mopup uninstall [OPTIONS] VERSION
Options
- --dry-run <dry_run>¶
show what would be removed without actually removing anything
- --interactive <interactive>¶
ask for confirmation before proceeding
- --force <force>¶
remove even if extra files are present
Arguments
- VERSION¶
Required argument
update¶
Update Python to the latest version.
Run this command and enter your administrator password to install the most recent version from Python.org that matches your major/minor version.
Optionally specify a VERSION (e.g., ‘3.13’) to update a specific Python installation instead of auto-detecting the current version.
mopup update [OPTIONS] [VERSION]
Options
- --interactive <interactive>¶
use the installer GUI
- --force <force>¶
reinstall python even if it’s up to date
- --minor <minor>¶
do a minor version upgrade rather than the default (a micro-version)
- --dry-run <dry_run>¶
don’t actually download or install anything even if we’re not up to date
Arguments
- VERSION¶
Optional argument