1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
# Installation
Griffe is a Python package, so you can install it with your favorite Python package installer or dependency manager.
TIP: **[Griffe Insiders](insiders/index.md), a version with [*more features*](insiders/index.md#whats-in-it-for-me), is also available to sponsors :octicons-heart-fill-24:{ .heart .pulse }**
## Install as a tool & library
=== ":simple-python: pip"
```bash
pip install griffe
```
<div class="result" markdown>
[pip](https://pip.pypa.io/en/stable/) is the main package installer for Python.
</div>
=== ":simple-pdm: pdm"
```bash
pdm add griffe
```
<div class="result" markdown>
[PDM](https://pdm-project.org/en/latest/) is an all-in-one solution for Python project management.
</div>
=== ":simple-poetry: poetry"
```bash
poetry add griffe
```
<div class="result" markdown>
[Poetry](https://python-poetry.org/) is an all-in-one solution for Python project management.
</div>
=== ":simple-rye: rye"
```bash
rye add griffe
```
<div class="result" markdown>
[Rye](https://rye.astral.sh/) is an all-in-one solution for Python project management, written in Rust.
</div>
=== ":simple-astral: uv"
```bash
uv add griffe
```
<div class="result" markdown>
[uv](https://docs.astral.sh/uv/) is an extremely fast Python package and project manager, written in Rust.
</div>
## Install as a tool only
=== ":simple-python: pip"
```bash
pip install --user griffe
```
<div class="result" markdown>
[pip](https://pip.pypa.io/en/stable/) is the main package installer for Python.
</div>
=== ":simple-pipx: pipx"
```bash
pipx install griffe
```
<div class="result" markdown>
[pipx](https://pipx.pypa.io/stable/) allows to install and run Python applications in isolated environments.
</div>
=== ":simple-rye: rye"
```bash
rye install griffe
```
<div class="result" markdown>
[Rye](https://rye.astral.sh/) is an all-in-one solution for Python project management, written in Rust.
</div>
=== ":simple-astral: uv"
```bash
uv tool install griffe
```
<div class="result" markdown>
[uv](https://docs.astral.sh/uv/) is an extremely fast Python package and project manager, written in Rust.
</div>
|