pip

From RaySoft

pip is a package management system used to install and manage software packages written in Python. Many packages can be found in the Python Package Index (PyPI).[1]

Documentation

Syntax

pip SUBCOMMAND [PARAMETER ...] [PACKAGE|PATH|URL ...]

Subcommands & Parameters

Global parameters
The following parameters can be used with the subcommands below:
--no-cache-dir
Disable the cache.
check
Verify installed packages have compatible dependencies.
freeze
Output installed packages in requirements format.
-l, --local
If in a virtualenv that has global access, do not output globally-installed packages.
install
Install packages from:
  • PyPI (and other indexes) using requirement specifiers.
  • VCS project urls.
  • Local project directories.
  • Local or remote source archives.
--force-reinstall
Reinstall all packages even if they are already up-to-date.
-U, --upgrade
Upgrade all specified packages to the newest available version. The handling of dependencies depends on the upgrade-strategy used.
list
List installed packages, including editables.
-o, --outdated
List outdated packages.
uninstall
Uninstall packages.
-y, --yes
Don't ask for confirmation of uninstall deletions.

Examples

Install all my tools

~/dev/deploy-apps-libs.sh

Update the system and all my tools

~/dev/maintain-macos.sh

References