Skip to content

Installation

Requirements

Tryke requires Python 3.12 or newer. Wheels are published for Linux (x86_64), macOS (arm64), and Windows (x86_64).

Running without installation

The easiest way to try Tryke without installing it is with uvx:

uvx tryke test

Or with pipx:

pipx run tryke test

These commands run the suite once from a temporary tool environment. After adding Tryke to your project, run tryke or uv run tryke to start the default watch loop.

Installation methods

Adding Tryke to your project (uv)

Use uv to add Tryke as a dev dependency.

uv add --dev tryke

Then, use uv run to invoke Tryke:

uv run tryke

That starts the default watch loop. Use uv run tryke test for a one-shot run.

To update Tryke, use --upgrade-package:

uv lock --upgrade-package tryke

Adding Tryke to your project (pip)

Install Tryke into your active virtual environment:

pip install tryke

Invoke it directly:

tryke

That starts the default watch loop. Use tryke test for a one-shot run.

To upgrade:

pip install --upgrade tryke

Using Tryke in your editor

See the editor integration guide

Migrating from pytest

If you are moving an existing pytest suite to Tryke, see the migration guide. It includes a side-by-side cheat sheet and a copy-paste AI prompt that walks an assistant through a phased migration with discovery and results-parity gates.