uv run
Run a command or script in the project environment. More information: https://docs.astral.sh/uv/reference/cli/#uv-run.
- Run a Python script:
uv run
- Run a Python module:
uv run
- Run a command with additional packages installed temporarily:
uv run
- Run a script with packages from a requirements file:
uv run --with-requirements
- Run in an isolated environment (no project dependencies):
uv run --isolated
- Run without syncing the environment first:
uv run --no-sync
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
