mirror of
https://github.com/astral-sh/ty.git
synced 2025-12-23 08:48:09 +00:00
713 B
713 B
Installing ty
Adding ty to your project
!!! tip
Adding ty as a dependency ensures that all developers on the project are using the same version
of ty.
Use uv (or your project manager of choice) to add ty as a development dependency:
uv add --dev ty
Then, use uv run to invoke ty:
uv run ty
Installing globally
Install ty globally with uv:
uv tool install ty@latest
Or, pipx:
pipx install ty
Installing with pip
Install ty into your current Python environment with pip:
pip install ty
Adding ty to your editor
See the editors page to add ty to your editor.