#cli #cargo #cargo-subcommand #rust-language-server #install-rls-instead

bin+lib cargo-rls-install

Rust Language Server easy install

17 stable releases

✓ Uses Rust 2018 edition

new 1.0.16 Mar 16, 2019
1.0.14 Mar 13, 2019

#51 in Cargo plugins

Download history 127/week @ 2019-03-02 75/week @ 2019-03-09

71 downloads per month

MIT license



Build Status Build status


Rust Language Server easy install

Every night, I look for a day when I can use RLS which may be broken.
In order to realize it, this program goes to see the page that mexus's scripts updates everyday, and scrapes it.

If we had no mexus page in the first place, we would have never made Cargo subcommand,
nor did I feel like using Rust.


cargo install cargo-rls-install

Preparing for installation (Linux only)

For Linux, it is necessary to install OpenSSL for installation.

# Ubuntu or Debian
sudo apt install libssl-dev

# WSL(Windows Subsystem for Linux)
sudo apt install libssl-dev
sudo apt install build-essential
sudo apt install pkg-config

# RedHut
sudo yum install openssl-devel

# RedHut(Fedora etc.)
sudo dnf install openssl


cargo rls-install [FLAGS]


cargo rls-install -n

Three operations are executed by the above command.

  1. Rust Language(Nightly channel) install.
  2. RLS(Rust Language Server) install.
  3. Set default use channel.

Before executing each operation, ask whether to execute it.


cargo rls-install -ny

All operations are done without approval until the end.


-b, --beta       Install beta channel Rust and RLS
-h, --help       Prints help information
-n, --nightly    Install nightly channel Rust and RLS
-s, --stable     Install stable channel Rust and RLS
-V, --version    Prints version information
-y, --yes        Pre-approval Rust and RLS install and rustup default command

Special thanks



~375K SLoC