增加 rust安装验证

This commit is contained in:
Your Name
2024-06-17 09:28:40 +00:00
parent b702f3357e
commit 2622bbb2b1
+5
View File
@@ -30,13 +30,18 @@ go version
## Rust [下载页面](https://forge.rust-lang.org/infra/other-installation-methods.html)
Linux
```bash
# 0 安装rustup
sudo apt install gcc
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# 1 通过rustup 安装 rust 相关工具链接
# 需要重启shell 或者 重载配置
source ~/.bashrc
rustup
# 验证安装成功
cargo -V
# 输出 cargo 1.xxx 则为成功
```
## Docker[下载页面](https://docs.docker.com/engine/install/)