Getting Started with Rust

less than 1 minute read

1.) Install Rust from

  • If on Windows, you’ll need to install the Visual C++ 2015 Build Tools from here:

2.) Install some common and useful tools:

cargo install racer
cargo install rustsym
cargo install rustfmt
cargo install ripgrep

3.) Add the Rust documentation

rustup component add rust-doc

4.) Install the Language Server (for IDE-like features in editors):

rustup self update
rustup update nightly
rustup component add rls --toolchain nightly
rustup component add rust-analysis --toolchain nightly
rustup component add rust-src --toolchain nightly

5.) Install Visual Studio Code from:

6.) Install the Rust vscode extension by KalitaAlexey:

How to install extensions in vscode:

7.) Go to File->Preferences->Settings and add the following lines to your user settings on the right hand side to use the language server:

"rust.rls": {
    "executable": "rustup",
    "args": ["run", "nightly", "rls"],
    "env": {
        "RUST_LOG": "rls=debug"

8.) Begin learning Rust!

The official Rust Book can be found here:

And an up to date repository of various Rust learning resources can be found here:

Leave a Comment