mirror of
https://github.com/astral-sh/ty.git
synced 2025-12-23 05:36:53 +00:00
697 B
697 B
Installing ty
Adding ty to your project
Use uv (or your project manager of choice) to add ty as a development dependency:
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:
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.