Skip to content

Rust

  1. Install rustup

  2. Install the stable toolchain for now

    Terminal window
    rustup install stable
  3. Install the rust-analyzer component (LSP)

    Terminal window
    rustup component add rust-analyzer-preview
  4. Add cargo’s .bin directory to your $PATH

    ~/.bashrc
    export PATH="$HOME/.cargo/bin:$PATH"