Skip to content

Commit 5cd36e8

Browse files
bors[bot]lnicola
andauthored
Merge #10706
10706: minor: Show how to create `~/.local/bin` r=lnicola a=lnicola Closes #10687 bors r+ Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents 726b4dd + 834916b commit 5cd36e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/user/manual.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,15 @@ On Linux to install the `rust-analyzer` binary into `~/.local/bin`, these comman
150150

151151
[source,bash]
152152
----
153+
$ mkdir -p ~/.local/bin
153154
$ curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > ~/.local/bin/rust-analyzer
154155
$ chmod +x ~/.local/bin/rust-analyzer
155156
----
156157

157158
Make sure that `~/.local/bin` is listed in the `$PATH` variable and use the appropriate URL if you're not on a `x86-64` system.
158159

160+
You don't have to use `~/.local/bin`, any other path like `~/.cargo/bin` or `/usr/local/bin` will work just as well.
161+
159162
Alternatively, you can install it from source using the command below.
160163
You'll need the latest stable version of the Rust toolchain.
161164

0 commit comments

Comments
 (0)