rustup

Installs and manages Rust toolchains and components

brewmacoslinux
Try with needOr install directly
Source

About

Rust toolchain installer

Commands

rustuprustccargorust-gdbrust-lldb

Examples

Install the latest Rust toolchain$ rustup install stable
Update all installed Rust toolchains$ rustup update
Switch to a specific Rust version$ rustup default 1.75.0