Skip to content

pip

Basic actions

Search for packages

pip search $PACKAGE_NAME

Install some packages

pip install $PACKAGE_NAME

Install some package in user space

pip install --user $PACKAGE_NAME

Upgrade some package

pip install --upgrade $PACKAGE_NAME

Install packages from file

pip install -r requirements.txt

Bonus

List outdated packages

pip list --outdated

Install specific version of a package

pip install -I $PACKAGE_NAME==1.1.0