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