Let’s talk about uv, a possible future replacement of pip

Kevin Tewouda
7 min readFeb 21, 2024

A new contender in the Python packaging ecosystem

Photo by Ivan Aleksic on Unsplash

Charlie Marsh, the creator of Ruff, a fast Python linter, shocked again the Python ecosystem with his new open-source uv. Currently, it (almost) replaces some well-known tools in the Python ecosystem, virtualenv, pip and pip-tools. We will explore this tool in this article.

Installation

This library can be installed standalone.

# on Linux and macOS
$ curl -LsSf https://astral.sh/uv/install.sh | sh

# on Windows
$ irm https://astral.sh/uv/install.ps1 | iex

At the moment of writing, I have issues with the Windows command and I don’t know why because the path is correctly set and the executable is in the right folder 😅. Anyway, if you have issues like me, you can use pipx to install it.

$ pipx install uv

--

--

Kevin Tewouda

Déserteur camerounais résidant désormais en France. Passionné de programmation, sport, de cinéma et mangas. J’écris en français et en anglais dû à mes origines.