Files
freeCodeCamp/guide/chinese/rust/installing-rust/index.md
Randell Dawson 0a1eeea424 fix(guide) Replace invalid prism code block names (#35961)
* fix: replace sh with shell

fix replace terminal with shell

fix replace node with js

fix replace output with shell

fix replace cs with csharp

fix replace c++ with cpp

fix replace c# with csharp

fix replace javasctipt with js

fix replace syntax  with js

fix replace unix with shell

fix replace linux with shell

fix replace java 8 with java

fix replace swift4 with swift

fix replace react.js with jsx

fix replace javascriot with js

fix replace javacsript with js

fix replace c++ -  with cpp

fix: corrected various typos

fix: replace Algorithm with nothing

fix: replace xaml with xml

fix: replace solidity with nothing

fix: replace c++ with cpp

fix: replace txt with shell

fix: replace code with json and css

fix: replace console with shell
2019-05-15 19:08:19 +02:00

34 lines
907 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.

---
title: Installing Rust
localeTitle: 安装Rust
---
# 安装Rust
使用`rustup`是Rust安装的首选。 `rustup`为您的系统安装和管理Rust。
## 在Windows中安装Rust
访问[rustup网站](https://rustup.rs)并下载`rustup-init.exe` 。安装它然后你应该准备好了!
## 在其他操作系统中安装RustMac OS XLinuxBSDUnix
打开终端并输入以下命令:
```shell
curl https://sh.rustup.rs -sSf | sh
```
这将获取`rustup`安装程序,然后获取您需要的所有内容。
# 验证安装
安装`rustup`将安装与rust相关的所有内容但最重要的是这意味着安装编译器和包管理器。要验证是否已安装所有内容请运行以下命令
```shell
cargo version
```
你现在可以使用Rust了
# 更多信息
要了解有关安装过程的更多信息,请访问 https://www.rust-lang.org/en-US/install.html