mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 13:01:53 +00:00
Update cheatsheets
This commit is contained in:
33
pipx
Normal file
33
pipx
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pipx
|
||||
|
||||
> Install and run Python applications in isolated environments.
|
||||
> More information: <https://github.com/pypa/pipx>.
|
||||
|
||||
- Run an app in a temporary virtual environment:
|
||||
|
||||
`pipx run {{pycowsay}} {{moo}}`
|
||||
|
||||
- Install a package in a virtual environment and add entry points to path:
|
||||
|
||||
`pipx install {{package}}`
|
||||
|
||||
- List installed packages:
|
||||
|
||||
`pipx list`
|
||||
|
||||
- Run an app in a temporary virtual environment with a package name different from the executable:
|
||||
|
||||
`pipx run --spec {{httpx-cli}} {{httpx}} {{http://www.github.com}}`
|
||||
|
||||
- Inject dependencies into an existing virtual environment:
|
||||
|
||||
`pipx inject {{package}} {{dependency1 dependency2 ...}}`
|
||||
|
||||
- Install a package in a virtual environment with pip arguments:
|
||||
|
||||
`pipx install --pip-args='{{pip-args}}' {{package}}`
|
||||
Reference in New Issue
Block a user