# How to use uv to speed up PDM


[PDM](https://pydevtools.com/handbook/reference/pdm.md) has experimental support for using [uv](https://pydevtools.com/handbook/reference/uv.md) as its resolver and installer (available since PDM 2.19.0). This makes dependency resolution and installation significantly faster without changing the rest of your PDM workflow.

> [!NOTE]
> This guide assumes you already have a PDM project and [uv installed](https://pydevtools.com/handbook/how-to/how-to-install-uv.md).

## Enable uv

```bash
pdm config use_uv true
```

PDM will detect the uv binary on your system and use it for dependency resolution and installation.

## Reuse uv's Python installations

If you manage Python versions with uv, you can point PDM at the same installations to avoid downloading Python twice:

```bash
pdm config python.install_root $(uv python dir --color never)
```

## Limitations

The uv integration is experimental and has some constraints, including no support for PEP 582 local packages and limited lock strategy options. See the [PDM uv documentation](https://pdm-project.org/en/latest/usage/uv/) for the full list of caveats.

## Learn more

- [uv: A Complete Guide](https://pydevtools.com/handbook/explanation/uv-complete-guide.md) covers what uv does, how fast it is, the core workflows, and recent releases.
- [PDM reference page](https://pydevtools.com/handbook/reference/pdm.md)
- [uv reference page](https://pydevtools.com/handbook/reference/uv.md)
- [PDM uv documentation](https://pdm-project.org/en/latest/usage/uv/)
