install

curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh

RUSTUP_HOME

/home/wiloon/.rustup

CARGO_HOME

/home/wiloon/.cargo

env

/home/wiloon/.profile /home/wiloon/.bashrc /home/wiloon/.zshenv

uninstall

rustup self uninstall

commands

rustup update
cargo build
cargo run
cargo test
cargo doc
cargo publish
cargo --version
cargo new hello-rust
cargo run