# Rust 安装 1. 安装RUST ``` curl https://sh.rustup.rs -sSf | sh ``` 2. 更新RUST ``` rustup update ``` 3. 卸载RUST ``` rustup self uninstall ``` 4. 查看RUST版本 ``` rustup --version ``` 5. 查看RUST本地文档 ``` rustup doc ``` 6. RUST编译 ``` rustc xxx.rs ``` rustc是rust自带的编译器,编译以后,会得到二进制的可执行文件,即可直接运行,例如: ``` ./xxx ``` ###### tags: `RUST`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up