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.
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh