From ea8159893a60430ede424ef453476545d58e5f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Sat, 27 Mar 2021 12:39:16 +0200 Subject: Mention the rustup version in the manual --- docs/user/manual.adoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 36a86e78f..b1beeb883 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -178,6 +178,15 @@ $ cargo xtask install --server If your editor can't find the binary even though the binary is on your `$PATH`, the likely explanation is that it doesn't see the same `$PATH` as the shell, see https://github.com/rust-analyzer/rust-analyzer/issues/1811[this issue]. On Unix, running the editor from a shell or changing the `.desktop` file to set the environment should help. +==== `rustup` + +`rust-analyzer` is available in `rustup`, but only in the nightly toolchain: + +[source,bash] +--- +$ rustup +nightly component add rust-analyzer-preview +--- + ==== Arch Linux The `rust-analyzer` binary can be installed from the repos or AUR (Arch User Repository): -- cgit v1.2.3