add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,20 +1,20 @@
# cargo install
# cargo 安装
> 构建并安装一个 Rust 二进制文件。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-install.html>.
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-install.html>
-<https://crates.io> 安装一个包 (版本是可选的,默认为最新版本)
-<https://crates.io> 安装一个包版本是可选的 - 默认使用最新版本
`cargo install {{包名}}@{{版本号}}`
`cargo install {{package}}@{{version}}`
- 从指定的 Git 仓库安装一个包:
`cargo install --git {{仓库URL}}`
`cargo install --git {{repo_url}}`
- 从 Git 仓库安装时,根据指定的 branch/tag/commit 构建
- 从 Git 仓库安装时,构建指定的分支/标签/提交
`cargo install --git {{仓库URL}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}`
`cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}`
- 列出所有已安装的包及其版本:
`cargo install --list`
`cargo install --list`