Rust can be installed using
rustup as described here.
Other installation methods are available here.
Cargo is the Rust package manager. Cargo downloads your Rust package’s dependencies, compiles your packages, makes distributable packages, and uploads them to crates.io, the Rust community’s package registry.
Cargo is shipped by default with
rustup. Alternatively, you can build Cargo from source.