For Rust in the terminal, cargo and rustcare important to know.
Get versions of both (should be the same):
cargo version
rustc --version
cargo clean removes build artifactscargo search search a package in the registry, by default crates.iocargo update updates dependencies, but only writes it to the lockfile, Cargo.lock, not the actual Cargo.toml.
A helper for managing dependencies: cargo install cargo-edit
Self-updating rust and dependencies: rustup update
Update global deps: