Update pip in the active interpreter.
Section: Install and Upgrade
Upgrade pip itself
bash
bash
python -m pip install --upgrade pipExplanation
Prefer `python -m pip` to avoid accidentally upgrading a different interpreter's pip.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Install and Upgrade