pip3 version of package code example Example: how to list all versions of pip in ubuntu using grep sudo apt list --installed | grep screen