Windows10にRust言語をインストールする方法
1.ダウンロード
https://www.rust-lang.org/tools/install
2.「rustup-init.exe」を実行する
3.インストール画面
The Cargo home directory located at: C:\Users\USER\.cargo This can be modified with the CARGO_HOME environment variable. The cargo, rustc, rustup and other commands will be added to Cargo's bin directory, located at: C:\Users\USER\.cargo\bin This path will then be added to your PATH environment variable by modifying the HKEY_CURRENT_USER/Environment/PATH registry key. You can uninstall at any time with rustup self uninstall and these changes will be reverted. Current installation options: default host triple: x86_64-pc-windows-msvc default toolchain: stable (default) profile: default modify PATH variable: yes 1) Proceed with installation (default) 2) Customize installation 3) Cancel installation > 1
3.コマンドプ ロンプトでバージョン確認
>rustup –version
rustup 1.23.1 (3df2264a9 2020-11-30)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.50.0 (cb75ad5db 2021-02-10)`
>cargo –version
cargo 1.50.0 (f04e7fab7 2021-02-04)