uv
101
uv
is a fast, modern Python package manager optimized for speed and simplicity—ideal for pentesting and red team workflows where rapid setup matters. It replaces traditional tools like pip
, virtualenv
, and pip-tools
by combining their capabilities into one streamlined utility written in Rust.
With uv
, it's easy to create isolated environments, install packages from PyPI or Git repositories, and generate lockfiles for consistent, reproducible tool setups. This makes it well-suited for scenarios where fast deployment and clean dependency management are critical.
Usage
# Update uv
uv self update
# List available Python versions
$ uv python list
# Install a tool with a specific Python version
$ uv tool install --python 3.13 creds
# Uninstall the specified Python version
$ uv python uninstall 3.13
Resources
A great tutorial from 0xdf: Python UV for Hackers (video)
Last updated
Was this helpful?