5 lines
252 B
Bash
Executable file
5 lines
252 B
Bash
Executable file
#! /usr/bin/sh
|
|
|
|
mkdir -p ~/.local/bin
|
|
curl --location https://github.com/rust-lang/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip --to-stdout - > ~/.local/bin/rust-analyzer
|
|
chmod +x ~/.local/bin/rust-analyzer
|