Command-line tool
pyupgrade
brew/pyupgrade
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Upgrade syntax for newer versions of Python
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
pipx install pyupgrade
macOS
brew install pyupgrade pipx install pyupgrade
Linux
pipx install pyupgrade
Related command-line tools
- npm-check-updates
Find newer versions of dependencies than what your package.json allows - winpython
Free, open-source and portable Python distribution for Windows - pygments
Generic syntax highlighter - bpython
Fancy interface to the Python interpreter - pyenv
Python version management - python-launcher
Launch your Python interpreter the lazy/smart way programming python python3 programming-language language script - Stackless Python
Python Launcher for Windows that runs with specified Python version. develop programming python programming-language… - bump-my-version
Version bump your Python project
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents