uv
An extremely fast Python package installer and resolver written in Rust
Miscellaneous
Rust
替代 pip, pip-tools, poetry, pyenv, virtualenv
uv is an extremely fast Python package installer and resolver, designed as a drop-in replacement for pip and pip-tools. Written in Rust by the Ruff team.
安装
brew
brew install uv
cargo
cargo install --git https://github.com/astral-sh/uv uv
pip
pip install uv
演示
▶ GIF
uv tool install — Install CLI tools globally
@agentgif
▶ GIF
uv run — Run scripts in isolated environments
@agentgif
▶ GIF
uv — uv vs pip
@agentgif
▶ GIF
uv add — Add Python dependencies
@agentgif
▶ GIF
uv pip list — List installed packages
@agentgif
▶ GIF
uv init — Create a new Python project
@agentgif
▶ GIF
uv — Extremely Fast Python Package Manager
@agentgif
相关工具
just
A handy way to save and run project-specific commands
watchexecExecute commands when watched files change
entrRun arbitrary commands when files change
miseDev tools, env vars, and task runner — polyglot rtx repla...
shfmtA shell script formatter supporting POSIX sh, Bash, and mksh
typosSource code spell checker that catches typos in code and ...
slA steam locomotive runs when you mistype ls
ShellCheckA static analysis tool for shell scripts