| name | uv-package-manager |
| version | 1.0.0 |
| description | UV for fast Python package management, virtual environments, and project workflows |
| type | reference |
| author | workspace-hub |
| category | development |
| tags | ["uv","python","package-manager","virtual-environment","dependency-management"] |
| platforms | ["python","linux","macos","windows"] |
| capabilities | [] |
| requires | [] |
Uv Package Manager
When to Use This Skill
Use UV package manager when you need:
- Fast dependency installation - 10-100x faster than pip
- Virtual environment management - Create and manage venvs effortlessly
- Project initialization - Start new Python projects quickly
- Dependency resolution - Reliable, reproducible dependency trees
- Lock file management - Ensure consistent environments across machines
- Python version management - Install and switch Python versions
Avoid when:
- Legacy systems requiring pip compatibility (rare)
- Conda-based scientific computing environments
- Docker images with pre-installed pip workflows
Installation
curl -LsSf https://astral.sh/uv/install.sh | sh
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
brew install uv
pip install uv
Complete Examples
Example 1: New Project Setup
#!/bin/bash
PROJECT_NAME=${1:-"my-project"}
uv init "$PROJECT_NAME"
cd "$PROJECT_NAME"
*See sub-skills for full details.*
```bash
cp requirements.txt requirements.txt.bak 2>/dev/null || true
if [ ! -f pyproject.toml ]; then
uv init --no-readme
*See sub-skills full details.*
```yaml
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
*See sub-skills full details.*
```bash
() {
py_version=
env_name=
*See sub-skills full details.*
```bash
PROJECT_NAME=
TEMPLATE_REPO=
uv init
*See sub-skills full details.*
```bash
uv --dev
uv run pytest tests/ -v
uv run ruff check src/
uv run black src/ tests/
uv run isort src/ tests/
uv run mypy src/