Files
tldr/pages.zh/common/uv-python.md
Jin 2a4ef14253 common/u*: add Chinese translation (#14688)
* common/u*: add Chinese translation

* Update uv-tool.md

* Update ugrep.md
2024-11-19 01:23:02 -08:00

29 lines
522 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# uv python
> 管理 Python 版本和安装。
> 更多信息:<https://docs.astral.sh/uv/reference/cli/#uv-python>.
- 列出所有可用的 Python 安装:
`uv python list`
- 安装某个版本的 Python
`uv python install {{版本}}`
- 卸载某个版本的 Python
`uv python uninstall {{版本}}`
- 搜索某个版本的 Python 安装:
`uv python find {{版本}}`
- 锁定当前项目使用特定版本的 Python
`uv python pin {{版本}}`
- 显示 `uv` Python 安装目录:
`uv python dir`