Installation

Standard installation

Tyro supports Python 3.8 through 3.14 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.