Curlを使ってインストール
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
途中でインストール方式を聞かれるので”1″を選択
1) Proceed with installation (default)
>1
以下の表示がでたら成功
Rust is installed now. Great!
To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
environment variable. Next time you log in this will be done
automatically.
To configure your current shell run source $HOME/.cargo/env
インストール先
各ユーザのホームディレクトリの配下の.cargoにインストールされます
> ls $HOME/.cargo/bin/
cargo cargo-clippy cargo-fmt cargo-miri clippy-driver rls rustc rustdoc rustfmt rust-gdb rust-lldb rustup
コメント