pip is just a PyPI package like any other; you could use it to upgrade itself the same way you would upgrade any package:

pip install --upgrade pip

On Windows the recommended command is:

py -m pip install --upgrade pip
Answer from Cairnarvon on Stack Overflow
🌐
pip
pip.pypa.io › en › stable › installation
Installation - pip documentation v26.1.2
C:> py -m ensurepip --upgrade · More details about how ensurepip works and how it can be used, is available in the standard library documentation. This is a Python script that uses some bootstrapping logic to install pip. Download the script, from https://bootstrap.pypa.io/get-pip.py.
Discussions

python - How to update/upgrade a package using pip? - Stack Overflow
I often find it necessary, or at least pleasing, to upgrade all my packages at once. Currently, pip doesn't natively support that action, but with sh scripting it is simple enough. You use pip list, awk (or cut and tail), and command substitution. My normal one-liner is: Copyfor i in $(pip list -o | awk 'NR > 2 {print $1}'); do sudo pip install ... More on stackoverflow.com
🌐 stackoverflow.com
python - How can I upgrade specific packages using pip and a requirements file? - Stack Overflow
Copypip --install --upgrade -E ` --requirement ` I can't find any flag that triggers a total package re-download. I even tried running an uninstall command first, and then the install, but no dice. Am I missing something? ... Please check @dr-jimbob 's answer because recent versions of pip ... More on stackoverflow.com
🌐 stackoverflow.com
How to upgrade all Python packages with pip - Stack Overflow
I have tried the code of Ramana ... for each command. Here is my script which works fine on Ubuntu 13.10 (Saucy Salamander): Copy#!/usr/bin/env python import pip from subprocess import call for dist in pip.get_installed_distributions(): call("sudo pip install --upgrade " + ... More on stackoverflow.com
🌐 stackoverflow.com
Upgrade pip
Termux has pip as a separate package in the repository, you will be able to upgrade when the maintainers put the package there. More on reddit.com
🌐 r/termux
11
4
August 7, 2024
People also ask

Can I use `pip install --upgrade pip` to upgrade PIP?
While this command can work, it's better to use `python -m pip install --upgrade pip` to ensure the correct Python version is used.
🌐
blog.openreplay.com
blog.openreplay.com › openreplay blog › how to upgrade pip: a full guide for windows, macos, and linux
How to Upgrade PIP: A Full Guide for Windows, macOS, and Linux
Will upgrading PIP affect my existing Python packages?
In most cases, upgrading PIP won't affect your existing packages. However, it's always a good practice to create a virtual environment for each project to isolate dependencies.
🌐
blog.openreplay.com
blog.openreplay.com › openreplay blog › how to upgrade pip: a full guide for windows, macos, and linux
How to Upgrade PIP: A Full Guide for Windows, macOS, and Linux
How often should I upgrade PIP?
It's recommended to upgrade PIP regularly, such as every few months or when a new major version is released.
🌐
blog.openreplay.com
blog.openreplay.com › openreplay blog › how to upgrade pip: a full guide for windows, macos, and linux
How to Upgrade PIP: A Full Guide for Windows, macOS, and Linux
🌐
OpenReplay
blog.openreplay.com › openreplay blog › how to upgrade pip: a full guide for windows, macos, and linux
How to Upgrade PIP: A Full Guide for Windows, macOS, and Linux
December 20, 2024 - Can I use `pip install --upgrade pip` to upgrade PIP? While this command can work, it's better to use `python -m pip install --upgrade pip` to ensure the correct Python version is used.
🌐
Note.nkmk.me
note.nkmk.me › home › python
How to Use pip (Install, Update, Uninstall Packages) | note.nkmk.me
April 18, 2025 - $ pip install --upgrade <package-name> $ pip install -U <package-name> Pip itself is also managed through pip. You can update pip to the latest version just like any other package, using the following command.
Find elsewhere
🌐
Python Central
pythoncentral.io › how-to-use-pip-simple-guide-to-install-update-uninstall-packages
How To Use Pip (Simple Guide To Install, Update, Uninstall Packages) | Python Central
December 13, 2022 - pip install --upgrade <package-name> #or pip install -U <package-name> You can update pip using pip without any hassle. When an update for pip is available, and you run a pip command, you will see a message that says, “You are using pip version xy.a, however version xy.b is available.” You can run “pip install --upgrade pip...
🌐
iO Flood
ioflood.com › blog › pip-upgrade
Pip Upgrade | Guide to Updating Python Packages
January 30, 2024 - The pip install --upgrade command is the basic command to upgrade Python packages. This command is followed by the name of the package you want to upgrade.
🌐
PyPI
pypi.org › project › upgrade-pip
upgrade-pip · PyPI
August 24, 2022 - Tags python , pip , packages , update , outdated , internet , programmer , developer , upgrade , upgradepip , programming ... Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
      » pip install upgrade-pip
    
Published   Aug 24, 2022
Version   0.1.4
🌐
freeCodeCamp
freecodecamp.org › news › pip-upgrade-and-how-to-update-pip-and-python
Pip Upgrade – And How to Update Pip and Python
March 14, 2023 - In cases when you want to update only Pip, open your terminal and run pip3 install --upgrade pip. You can then confirm the update by running pip3 --version: This article took you through how to update Python and Pip by downloading the installation ...
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-upgrade-pip-on-windows
How to Upgrade PIP on Windows - GeeksforGeeks
July 23, 2025 - pip will look for that package on PyPI and if found, it will download and install the package on your local system. Here, we will the focus on the following topics: ... Note: If your system is not recognising PIP, downloaded using this article PIP. In order to upgrade PIP on Windows, just open the Window's Command Prompt and type the following command:
🌐
OperaVPS
operavps.com › docs › pip update all packages to latest version
Pip Update All Packages to Latest Version [Pip Upgrade]
6 days ago - To manually update each package after reviewing outdated ones, use the following command. it generates a table indicating current vs latest versions: pip list --outdated sudo pip install --upgrade package_name_1 package_name_2
🌐
pip
pip.pypa.io › en › stable › development › architecture › upgrade-options
Options that control the installation process - pip documentation v26.1.2
This option affects which packages are allowed to be installed. It is only relevant if --upgrade is specified (except for the to-satisfy-only option mentioned below). The base behaviour is to allow packages specified on pip’s command line to be upgraded.
🌐
pip
pip.pypa.io › en › latest › installation
Installation - pip documentation v26.2.dev0
C:> py -m ensurepip --upgrade · More details about how ensurepip works and how it can be used, is available in the standard library documentation. This is a Python script that uses some bootstrapping logic to install pip. Download the script, from https://bootstrap.pypa.io/get-pip.py.
🌐
DataCamp
datacamp.com › tutorial › pip-upgrade-python
How to Upgrade Pip and Python in Windows, MacOS, and Linux | DataCamp
December 23, 2025 - Running the installer will upgrade both Python and Pip, which are included with the installer. To upgrade Pip using the command prompt after upgrading Python, type cmd in your search bar to open the command prompt.
🌐
pip
pip.pypa.io › en › stable › installing
This page has moved - pip documentation v26.1.2
How pip is used in interactive environments (i.e. CI, CD) ... You should be redirected automatically in 3 seconds. If that didn’t work, here’s a link: Installation
🌐
GitHub
gist.github.com › hritik5102 › 35b2886771d60fc6d7a95b6fd55c62ba
How To Update All Python Packages · GitHub
Open a command shell by typing ‘powershell’ in the Search Box of the Task bar Update All Python Packages On Windows · $ pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}