diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-05-24 15:58:06 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-24 15:58:06 +0100 |
commit | c1e3bd81005ccae9549b4cd5cefbfa522de972e5 (patch) | |
tree | 6d93905d05d1c277b60054c0bad59327804e1dcd /docs/user | |
parent | 2d532ab150546fede268b732784eda73958c19cf (diff) | |
parent | 400cf102990993fae26794d2ee559cd427b4aad6 (diff) |
Merge #8969
8969: fix: Update download instructions r=cschmatzler a=lnicola
Closes #8966
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/manual.adoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 4822d7dae..1f95df56e 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -139,10 +139,10 @@ $ cargo xtask install --server | |||
139 | === rust-analyzer Language Server Binary | 139 | === rust-analyzer Language Server Binary |
140 | 140 | ||
141 | Other editors generally require the `rust-analyzer` binary to be in `$PATH`. | 141 | Other editors generally require the `rust-analyzer` binary to be in `$PATH`. |
142 | You can download the pre-built binary from the https://github.com/rust-analyzer/rust-analyzer/releases[releases] page. | 142 | You can download pre-built binaries from the https://github.com/rust-analyzer/rust-analyzer/releases[releases] page. |
143 | Typically, you then need to rename the binary for your platform, e.g. `rust-analyzer-mac` if you're on Mac OS, to `rust-analyzer` and make it executable in addition to moving it into a directory in your `$PATH`. | 143 | You will need to uncompress and rename the binary for your platform, e.g. from `rust-analyzer-aarch64-apple-darwin.gz` on Mac OS to `rust-analyzer`, make it executable, then move it into a directory in your `$PATH`. |
144 | 144 | ||
145 | On Linux to install the `rust-analyzer` binary into `~/.local/bin`, this commands could be used | 145 | On Linux to install the `rust-analyzer` binary into `~/.local/bin`, these commands should work: |
146 | 146 | ||
147 | [source,bash] | 147 | [source,bash] |
148 | ---- | 148 | ---- |
@@ -150,7 +150,7 @@ $ curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/downloa | |||
150 | $ chmod +x ~/.local/bin/rust-analyzer | 150 | $ chmod +x ~/.local/bin/rust-analyzer |
151 | ---- | 151 | ---- |
152 | 152 | ||
153 | Ensure `~/.local/bin` is listed in the `$PATH` variable. | 153 | 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. |
154 | 154 | ||
155 | Alternatively, you can install it from source using the command below. | 155 | Alternatively, you can install it from source using the command below. |
156 | You'll need the latest stable version of the Rust toolchain. | 156 | You'll need the latest stable version of the Rust toolchain. |