common/u*: add Chinese translation (#14688)
* common/u*: add Chinese translation * Update uv-tool.md * Update ugrep.md
This commit is contained in:
28
pages.zh/common/uv-python.md
Normal file
28
pages.zh/common/uv-python.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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`
|
Reference in New Issue
Block a user