What is uv?
uv is an extremely fast Python package and project manager written in Rust by Astral (creators of Ruff). It's designed as a single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more, providing 10-100x faster performance than traditional Python tooling.
- 10-100x faster than pip for package installation
- Resolves dependencies in milliseconds vs seconds
- Global cache for disk-space efficient dependency deduplication
- Parallel downloads and installations
โก Key Features of uv
๐ Blazing Fast
10-100x faster than pip with Rust-powered performance. Parallel downloads, efficient caching, and optimized dependency resolution.
๐๏ธ Project Management
Comprehensive project management with universal lockfiles, workspace support, and dependency tracking similar to Poetry.
๐ Python Version Management
Install and manage multiple Python versions. Download Python versions as needed, switch between them effortlessly.
๐ ๏ธ Tool Management
Run and install Python tools with uvx (like pipx). Execute tools in ephemeral environments or install them globally.
๐ Script Support
Run single-file scripts with inline dependency metadata. Automatic environment creation and dependency management.
๐ฉ pip Compatible
Drop-in replacement for pip, pip-tools, and virtualenv with familiar CLI and advanced features like platform-independent resolutions.
apt upgrade keeps you on the latest version.
๐ฆ Installation from deb.griffo.io
Step 1: Add Repository
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt updateinstall -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt update๐ There is an always-free mirror. deb-free.griffo.io serves packages free forever โ no account, no subscription, at most 2 months behind upstream, security fixes immediately. It currently carries Ghostty, Oh My Posh and Zed; uv is not one of them, so the repository above is the only way to get it today โ ask and it can be enrolled.
Step 2: Install uv
# Install latest uv
sudo apt install uv
# Verify installation
uv --version# Install latest uv
apt install uv
# Verify installation
uv --version๐ฏ Basic Usage Examples
Project management:
# Create new Python project
uv init my-project
cd my-project
# Add dependencies
uv add requests pandas
# Run project
uv run python main.py
# Sync dependencies
uv syncReplace pip commands:
# Create virtual environment
uv venv
# Install packages (much faster than pip)
uv pip install requests numpy pandas
# Compile requirements
uv pip compile requirements.in
# Sync requirements
uv pip sync requirements.txtPython version management:
# Install Python versions
uv python install 3.11 3.12 3.13
# Use specific Python version
uv python pin 3.12
# Run with specific Python
uv run --python 3.11 python script.pyTool management:
# Run tool in ephemeral environment
uvx black .
uvx ruff check
# Install tool globally
uv tool install black
uv tool install ruff
# List installed tools
uv tool list๐ Why Choose deb.griffo.io?
- Official Ubuntu: Often outdated versions missing latest features
- pip install: Slower, requires Python already installed
- Curl installer: Manual updates, no package management
- deb.griffo.io: Latest version with automatic updates
- โ Latest Performance: Get newest speed improvements and optimizations
- โ Automatic Updates: Packages updated within hours of upstream releases
- โ No Manual Setup: Pre-built binaries, no Rust compilation needed
- โ Proper Integration: Correctly packaged with system dependencies
- โ Multi-Distribution: Works on Jammy and Noble
- โ Easy Maintenance: Standard apt commands for updates
๐ Why uv is Revolutionary
- Speed: Rust implementation provides 10-100x performance improvement
- Unified Tool: Replaces multiple Python tools with single binary
- Modern Features: Lockfiles, workspaces, and advanced dependency resolution
- Compatibility: Drop-in replacement for existing workflows
- Reliability: Deterministic builds and reproducible environments
๐ฆ Package Build Repository
The Ubuntu packages are automatically built and maintained in this GitHub repository:
- ๐ uv-debian - Latest release builds
๐ Related Packages
Also available from deb.griffo.io:
- Zig Programming Language - Modern systems programming
- Ghostty Terminal - Fast terminal for development
- fzf Fuzzy Finder - Enhanced command searching
๐ Support This Project
If this repository saves you time and effort, please consider supporting it!