Igor's Techno Club

uv Installation Guide: How to Install uv on macOS and Windows

This uv install guide explains how to complete uv installation on macOS and Windows quickly and correctly. Whether you are setting up a new Python environment or replacing tools like pip and virtualenv, this guide walks you through installing uv, verifying it works, and avoiding common issues.

uv is a modern Python package manager written in Rust. It dramatically speeds up dependency resolution, automatically manages virtual environments, and integrates cleanly with existing Python projects.

What Is uv?

uv is an all-in-one Python workflow tool that can replace:

Key benefits of uv installation include faster installs, reproducible builds, and simpler workflows — without breaking compatibility with pyproject.toml or existing projects.

System Requirements for uv Installation

Before starting your uv install, make sure you have:

uv installs per user and does not require administrator privileges.

uv Install on macOS

If you already use Homebrew, this is the easiest way to complete your uv installation on macOS.

brew update
brew install uv

Verify the uv install:

uv --version

If a version number is displayed, the uv installation was successful.

Option 2: Install uv Using the Official Script

If you do not use Homebrew, you can install uv directly:

curl -LsSf https://astral.sh/uv/install.sh | sh

Restart your terminal or reload your shell configuration:

source ~/.zshrc
# or
source ~/.bashrc

Verify again:

uv --version

macOS uv Install Troubleshooting

If uv is not found, ensure this directory is in your PATH:

export PATH="$HOME/.local/bin:$PATH"

Add it permanently to your shell configuration file if needed.

uv Install on Windows

Open PowerShell (not Command Prompt) and run:

irm https://astral.sh/uv/install.ps1 | iex

Restart PowerShell after installation and verify:

uv --version

Option 2: Install uv with Scoop

If you use Scoop:

scoop install uv

Verify the uv installation:

uv --version

Windows uv Installation Issues

Set-ExecutionPolicy RemoteSigned

Verify Your uv Installation

After completing uv installation, test a full workflow:

uv init myproject
cd myproject
uv add requests
uv run python -c "import requests; print(requests.__version__)"

This confirms that uv:

How uv Fits into Modern Python Development

uv simplifies Python workflows by consolidating multiple tools into one:

Traditional Tool uv Replacement
pip uv add
pip-tools Built-in
virtualenv / venv Automatic
manual activation uv run

You can continue using pyproject.toml, existing repositories, and CI pipelines without modification.

Best Practices After uv Installation

Conclusion

Completing a uv install on macOS or Windows takes less than a minute, but the benefits are immediate. Faster dependency resolution, automatic environments, and simpler workflows make uv an excellent default choice for modern Python development.

If you are searching for a fast, reliable uv installation guide, this setup will get you productive right away.