Files
Thiago Gariani 9b2e0d41a8 5881-Full conversion from rst to md (#5909)
* add the files from rst -> md
2023-09-05 21:19:27 -04:00

148 lines
2.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Pipenv CLI Reference
## pipenv
```bash
pipenv [OPTIONS] COMMAND [ARGS]...
```
## check
Checks for PyUp Safety security vulnerabilities and against PEP 508 markers provided in Pipfile.
```bash
pipenv check [OPTIONS]
```
## clean
Uninstalls all packages not specified in Pipfile.lock.
```bash
pipenv clean [OPTIONS]
```
## graph
Displays currentlyinstalled dependency graph information.
```bash
pipenv graph [OPTIONS]
```
## install
Installs provided packages and adds them to Pipfile, or (if no packages are given), installs all packages from Pipfile.
```bash
pipenv install [OPTIONS] [PACKAGES]...
```
Environment Variables
PIP_INDEX_URL
```bash
Provide a default for -i
```
## lock
Generates Pipfile.lock.
```bash
pipenv lock [OPTIONS]
```
## open
View a given module in your editor.
This uses the EDITOR environment variable. You can temporarily override it, for example:
EDITOR=atom pipenv open requests
```bash
pipenv open [OPTIONS] MODULE
```
## requirements
Generate a requirements.txt from Pipfile.lock.
```bash
pipenv requirements [OPTIONS]
```
## run
Spawns a command installed into the virtualenv.
```bash
pipenv run [OPTIONS] COMMAND [ARGS]...
```
## shell
Spawns a shell within the virtualenv.
```bash
pipenv shell [OPTIONS] [SHELL_ARGS]...
```
## sync
Installs all packages specified in Pipfile.lock.
```bash
pipenv sync [OPTIONS]
```
## uninstall
Un-installs a provided package and removes it from Pipfile.
```bash
pipenv uninstall [OPTIONS] [PACKAGES]...
```
## update
Runs lock when no packages are specified, or upgrade, and then sync.
```bash
pipenv update [OPTIONS] [PACKAGES]...
```
Environment Variables
PIP_INDEX_URL
```bash
Provide a default for -i
```
## upgrade
Resolves provided packages and adds them to Pipfile, or (if no packages are given), merges results to Pipfile.lock
```bash
pipenv upgrade [OPTIONS] [PACKAGES]...
```
Environment Variables
PIP_INDEX_URL
```bash
Provide a default for -i
```
## verify
Verify the hash in Pipfile.lock is up-to-date.
```bash
pipenv verify [OPTIONS]
```