Uv Python Tool Installer
Install Python tools with a single command. Powered by uv.
Quick Start
macOS and Linux
bash1curl -LsSf uvx.sh/<package>/install.sh | sh
Replace <package> with any PyPI package name.
Windows
bash1powershell -ExecutionPolicy ByPass -c "irm https://uvx.sh/<package>/install.ps1 | iex"
Examples
Install ruff
bash1curl -LsSf uvx.sh/ruff/install.sh | sh
Install a specific version
bash1curl -LsSf uvx.sh/ruff/0.8.3/install.sh | sh
Passing arguments
bash1# Force installation 2curl -LsSf uvx.sh/ruff/install.sh | sh -s -- --force 3 4# Install from a specific index 5curl -LsSf uvx.sh/cmake/install.sh | sh -s -- --index https://download.pytorch.org/whl/cpu
Scripts
install.sh
Simple bash script to install Python tools:
bash1#!/bin/bash 2# Install Python tools using uvx.sh 3# Usage: ./install.sh <package> [version] [--force] [--index URL] 4 5PACKAGE=$1 6VERSION=$2 7shift 2 8 9if [ -n "$VERSION" ]; then 10 URL="https://uvx.sh/${PACKAGE}/${VERSION}/install.sh" 11else 12 URL="https://uvx.sh/${PACKAGE}/install.sh" 13fi 14 15curl -LsSf "$URL" | sh -s -- "$@"
Usage:
bash1./scripts/install.sh ruff 2./scripts/install.sh ruff 0.8.3 3./scripts/install.sh ruff 0.8.3 --force
Common Python Tools
ruff- Fast Python linterblack- Python code formattermypy- Static type checkerhttpie- Modern HTTP clientpipx- Install and run Python applications in isolated environmentsjupyter- Jupyter notebookspoetry- Python dependency management
Notes
- Tools are installed to
~/.local/binby default - Ensure
~/.local/binis in your PATH - Uses
uvunder the hood for fast, reliable installation - Works with any PyPI package that provides command-line tools