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