ty/docs/installation.md
Zanie Blue 3634c41020 Naively split the "Overview" page into child pages (#748)
Splits each top-level heading of the existing documentation into
a dedicated page as a starting point.

---------

Co-authored-by: David Peter <mail@david-peter.de>
2025-07-02 09:40:49 -05:00

41 lines
603 B
Markdown

# Installing ty
## Adding ty to your project
Use [uv](https://github.com/astral-sh/uv) (or your project manager of choice) to add ty as a
development dependency:
```shell
uv add --dev ty
```
Adding ty as a dependency ensures that all developers on the project are using the same version of
ty.
Then, use `uv run` to invoke ty:
```shell
uv run ty
```
## Installing globally
Install ty globally with uv:
```shell
uv tool install ty@latest
```
Or, pipx:
```shell
pipx install ty
```
## Installing with pip
Install ty into your current Python environment with pip:
```shell
pip install ty
```