.\" Man page generated from reStructuredText. . .TH PIP 1 "2014-06-03" "1.5.6" "" .SH NAME pip \- A tool for installing and managing Python packages . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp pip [options] .sp pip3 [options] .SH DESCRIPTION .sp \fBpip\fP is a Python package installer, recommended for installing Python packages which are not available in the Debian archive. It can work with version control repositories (currently only Git, Mercurial, and Bazaar repositories), logs output extensively, and prevents partial installs by downloading all requirements before starting installation. .sp On Debian, \fBpip\fP is the command to use when installing packages for Python 2, while \fBpip3\fP is the command to use when installing packages for Python 3. .SH COMMANDS .sp The command comes before any options. The following commands are recognized: .INDENT 0.0 .TP .B help Show help for commands. .TP .B install Install packages. .TP .B uninstall Uninstall packages. .TP .B freeze Output installed packages in requirements format. .TP .B list List installed packages. .TP .B show Show information about installed packages. .TP .B search Search PyPI for packages. .TP .B wheel Build wheels from your requirements. .UNINDENT .SH GENERAL OPTIONS .sp This list is by no means complete, and it only describes options available to all commands. Use \fBpip \-\-help\fP for more details on command specific options. A few command options are provided below. .INDENT 0.0 .TP .B \-h\fP,\fB \-\-help Show more detailed command help. .TP .B \-v\fP,\fB \-\-verbose Give more output. Option is additive, and can be used up to 3 times. .TP .B \-V\fP,\fB \-\-version Show version and exit. .TP .B \-q\fP,\fB \-\-quiet Give less output. .TP .BI \-\-log\-file \ Path to a verbose non\-appending log, that only logs failures. This log is active by default at \fI~/.pip/pip.log\fP\&. .TP .BI \-\-log \ Path to a verbose appending log. This log is inactive by default. .TP .BI \-\-proxy \ Specify a proxy in the form \fB[user:passwd@]proxy.server:port\fP\&. .TP .BI \-\-timeout \ Set the socket timeout (default 15 seconds). .TP .BI \-\-exists\-action \ Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup. .TP .BI \-\-cert \ Path to alternate CA bundle. .UNINDENT .SH INSTALL OPTIONS .sp \fBpip install\fP installs packages from: .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .IP \(bu 2 PyPI (a.k.a. The Cheeseshop) and other indexes, using requirements specifiers. .IP \(bu 2 VCS project urls. .IP \(bu 2 Local project directories. .IP \(bu 2 Local or remote source archives .UNINDENT .UNINDENT .UNINDENT .INDENT 0.0 .TP .BI \-e\fP,\fB \-\-editable \ Install a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url. .TP .BI \-r\fP,\fB \-\-requirement \ Install from the given requirements file. This option can be used multiple times. .TP .BI \-b\fP,\fB \-\-build \ Directory to unpack packages into and build in. The default in a virtualenv is "/build". The default for global installs is "/pip_build_". .TP .BI \-t\fP,\fB \-\-target \ Install packages into . .TP .BI \-d\fP,\fB \-\-download \ Download packages into instead of installing them, regardless of what\(aqs already installed. .TP .BI \-\-download\-cache \ Cache downloaded packages in . .TP .BI \-\-src \ Directory to check out editable projects into. The default in a virtualenv is "/src". The default for global installs is "/src". .TP .B \-U\fP,\fB \-\-upgrade Upgrade all packages to the newest available version. This process is recursive regardless of whether a dependency is already satisfied. .TP .B \-\-force\-reinstall When upgrading, reinstall all packages even if they are already up\-to\-date. .TP .B \-I\fP,\fB \-\-ignore\-installed Ignore the installed packages (reinstalling instead). .TP .B \-\-no\-deps Don\(aqt install package dependencies. .TP .BI \-\-install\-option \ Extra arguments to be supplied to the setup.py install command (use like \-\-install\-option ="\-\-install\-scripts=/usr/local/bin"). Use multiple \-\-install\-option options to pass multiple options to setup.py install. If you are using an option with a directory path, be sure to use absolute path. .TP .BI \-\-global\-option \ Extra global options to be supplied to the setup.py call before the install command. .TP .B \-\-user Install using the user scheme. .TP .B \-\-egg Install packages as eggs, not \(aqflat\(aq, like pip normally does. This option is not about installing \fIfrom\fP eggs. (WARNING: Because this option overrides pip\(aqs normal install logic, requirements files may not behave as expected.) .TP .BI \-\-root \ Install everything relative to this alternate root directory. .TP .B \-\-compile Compile py files to pyc. .TP .B \-\-no\-compile Do not compile py files to pyc. .TP .B \-\-no\-use\-wheel Do not find and prefer wheel archives when searching indexes and find\-links locations. .TP .B \-\-pre Include pre\-release and development versions. By default, pip only finds stable versions. .TP .B \-\-no\-clean Don\(aqt clean up build directories. .UNINDENT .sp Package Index Options: .INDENT 0.0 .TP .BI \-i\fP,\fB \-\-index\-url \ Base URL of Python Package Index (default \fI\%https://pypi.python.org/simple/\fP). .TP .BI \-\-extra\-index\-url \ Extra URLs of package indexes to use in addition to \-\-index\-url. .TP .B \-\-no\-index Ignore package index (only looking at \-\-find\-links URLs instead). .TP .BI \-f\fP,\fB \-\-find\-links \ If a url or path to an html file, then parse for links to archives. If a local path or \fI\%file://\fP url that\(aqs a directory, then look for archives in the directory listing. .TP .BI \-\-allow\-external \ Allow the installation of externally hosted files .TP .B \-\-allow\-all\-external Allow the installation of all externally hosted files .TP .BI \-\-allow\-unverified \ Allow the installation of insecure and unverifiable files .TP .B \-\-process\-dependency\-links Enable the processing of dependency links. .UNINDENT .SH UNINSTALL OPTIONS .sp pip is able to uninstall most installed packages. Known exceptions are: .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .IP \(bu 2 Pure distutils packages installed with \fBpython setup.py install\fP, which leave behind no metadata to determine what files were installed. .IP \(bu 2 Script wrappers installed by \fBpython setup.py develop\fP\&. .UNINDENT .UNINDENT .UNINDENT .INDENT 0.0 .TP .BI \-r\fP,\fB \-\-requirement \ Uninstall all the packages listed in the given requirements file. This option can be used multiple times. .TP .B \-y\fP,\fB \-\-yes Don\(aqt ask for confirmation of uninstall deletions. .UNINDENT .SH AUTHORS .sp This manual page was originally written by Jeff Licquia <\fI\%licquia@debian.org\fP>, later rewritten by Carl Chenet <\fI\%chaica@debian.org\fP>. It was rewritten again and the source converted to reStructuredText by Barry Warsaw <\fI\%barry@debian.org\fP>. .sp Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, version 3 or any later version published by the Free Software Foundation. .SH AUTHOR Barry Warsaw .\" Generated by docutils manpage writer. .