Rustのインストール#
オンラインでインストール不要でRustを実行する: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021
linux、MacOSにrustupをインストール#
-
事前にビルドツールをインストールする必要があります。
ubuntuではbuild-essentialをインストールし、MacOSではxcode-select --installを実行してビルドツールをインストールします。 -
Rustをインストールcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
windowsにrust-init.exeをダウンロード#
-
MSVCビルドツールをダウンロードする必要はありません。rust-init.exeがwindowsでのインストールに必要な依存関係を自動的に処理します。
ミラーの変更#
cargo search crm
cargo install crm
crm best sparse-download
IDE 依存のrust-src#
rustup component add rust-src
更新#
rustup update
Rustのアンインストール#
rustup self uninstall