banner
acai

acai

对世界与新技术充满好奇
github
email
bilibili
zhihu

Windows、Linux、MacOS に Rust をインストール

Rustのインストール#

オンラインでインストール不要でRustを実行する: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021

linuxMacOSrustupをインストール#

  1. 事前にビルドツールをインストールする必要があります。ubuntuではbuild-essentialをインストールし、MacOSではxcode-select --installを実行してビルドツールをインストールします。

  2. Rustをインストール

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    

windowsrust-init.exeをダウンロード#

  1. MSVCビルドツールをダウンロードする必要はありません。rust-init.exewindowsでのインストールに必要な依存関係を自動的に処理します。

  2. ダウンロード rustup-init.exe

ミラーの変更#

cargo search crm
cargo install crm
crm best sparse-download

IDE 依存のrust-src#

rustup component add rust-src

更新#

rustup update

Rustのアンインストール#

rustup self uninstall
読み込み中...
文章は、創作者によって署名され、ブロックチェーンに安全に保存されています。