Installation
Install uv on macOS, Linux, or Windows using your preferred method. The standalone installer is recommended for most users.Standalone installer
The standalone installer downloads and installs uv without requiring Rust or Python.Install with pip
Install uv using pip if you prefer to manage it within your Python environment:Install with pipx
pipx installs uv in an isolated environment while making it globally accessible:pipx is recommended if you want uv isolated from your system Python but don’t want to use the standalone installer.
Package managers
Install uv using your operating system’s package manager:Install from source
Build uv from source if you need the latest development version or want to contribute:Platform support
uv officially supports:- macOS: x86_64 and ARM64 (Apple Silicon)
- Linux: x86_64, ARM64, and other architectures
- Windows: x86_64
For detailed platform compatibility information, see the platform support documentation.
Post-installation setup
After installing uv, you’re ready to start using it. No additional configuration is required for basic usage.Shell completion
Enable shell completion for enhanced command-line experience:Configuration
uv works without configuration, but you can customize behavior using:- Environment variables: Set
UV_*variables to control behavior - Configuration files: Create a
uv.tomlorpyproject.tomlwith uv settings - Command-line flags: Override defaults for specific commands
Updating uv
Keep uv up to date to get the latest features and improvements:Uninstalling uv
Remove uv from your system:Uninstalling uv doesn’t remove cached packages. To remove the cache, delete the
~/.cache/uv directory (or %LOCALAPPDATA%\uv\cache on Windows).Troubleshooting
Permission denied errors
If you encounter permission errors during installation:Command not found
Ifuv command is not found after installation:
-
Check if the installation directory is in your PATH:
-
Add the uv installation directory to your PATH in your shell profile:
Antivirus interference (Windows)
Some antivirus software may block the installer. Temporarily disable it or add an exception for the uv installer.Next steps
Quick start
Create your first project and learn essential commands.
Command reference
Explore all available commands with
uv --help.