Required
rustup
Install rustup
Install the stable toolchain for now
rustup install stable
Install the rust-analyzer component (LSP)
rust-analyzer
rustup component add rust-analyzer-preview
Add cargo’s .bin directory to your $PATH
cargo
.bin
$PATH
export PATH="$HOME/.cargo/bin:$PATH"