Skip to content

Commit 97dbbad

Browse files
bors[bot]lnicola
andauthored
Merge #8214
8214: Mention the rustup version in the manual r=lnicola a=lnicola Closes #7860 bors r+ changelog fix mention the `rustup` version in the installation instructions. Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents ae92014 + ea81598 commit 97dbbad

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/user/manual.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,15 @@ $ cargo xtask install --server
178178
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].
179179
On Unix, running the editor from a shell or changing the `.desktop` file to set the environment should help.
180180

181+
==== `rustup`
182+
183+
`rust-analyzer` is available in `rustup`, but only in the nightly toolchain:
184+
185+
[source,bash]
186+
---
187+
$ rustup +nightly component add rust-analyzer-preview
188+
---
189+
181190
==== Arch Linux
182191

183192
The `rust-analyzer` binary can be installed from the repos or AUR (Arch User Repository):

0 commit comments

Comments
 (0)