Installation

Standard Installation

Tyro supports Python 3.7 through 3.13 and can be installed via pip:

pip install tyro

Development Installation

If you’d like to contribute to tyro, here’s how to set up a development environment:

# Clone repository
git clone git@github.com:brentyi/tyro.git
cd tyro

# Install in development mode with all dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Check types
pyright

# Run linters
ruff check --fix
ruff format

The development installation includes additional tools for testing, type checking, and code quality.