Installation

Karva is available as karva on PyPI.

Use karva directly with uvx:

Bash
1
2
uvx karva test
uvx karva version

Or install karva with uv, or pip:

Bash
1
2
3
4
5
6
7
8
# With uv.
uv tool install karva@latest

# Add karva to your project.
uv add --dev karva

# With pip.
pip install karva

Once installed, you can use karva to run your tests:

Bash
1
karva test

Or to get the version of karva you're using:

Bash
1
karva version