How to Check If "pip" Is Installed?

You can check if pip is installed on your system by running any of the following commands in terminal:

pip --version
pip -V
python -m pip --version

For Python 3.x, the executables are typically named python3 and pip3. Therefore, if the commands above don't work, then you can try running the following commands instead:

pip3 --version
pip3 -V
python3 -m pip --version

If pip is installed, the output will show the version of pip installed on your system. If it's not installed, then you can simply install it for your operating system by following the instructions in the official Python docs.


This post was published by Daniyal Hamid. Daniyal currently works as the Head of Engineering in Germany and has 20+ years of experience in software engineering, design and marketing. Please show your love and support by sharing this post.