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

907 B
Raw Blame History

title, localeTitle
title localeTitle
Installing Rust 安装Rust

安装Rust

使用rustup是Rust安装的首选。 rustup为您的系统安装和管理Rust。

在Windows中安装Rust

访问rustup网站并下载rustup-init.exe 。安装它然后你应该准备好了!

在其他操作系统中安装RustMac OS XLinuxBSDUnix

打开终端并输入以下命令:

curl https://sh.rustup.rs -sSf | sh 

这将获取rustup安装程序,然后获取您需要的所有内容。

验证安装

安装rustup将安装与rust相关的所有内容但最重要的是这意味着安装编译器和包管理器。要验证是否已安装所有内容请运行以下命令

cargo version 

你现在可以使用Rust了

更多信息

要了解有关安装过程的更多信息,请访问 https://www.rust-lang.org/en-US/install.html