diff --git a/README.md b/README.md index 32f5ab7e..a7e45e57 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ https://github.com/user-attachments/assets/4a7e4633-1957-4dc2-a032-827fa9c06c29 Install it with `cargo`, just make sure you have [Rust](https://rustup.rs) installed on your computer. +> NOTE: On Linux, near-cli-rs is built with Ledger devices support by default, and that requires `libudev-dev` package. On Debian/Ubuntu, install it with `apt install libudev-dev`. + ```bash cargo install near-cli-rs ``` diff --git a/docs/README.en.md b/docs/README.en.md index d41cfb73..a15b8276 100644 --- a/docs/README.en.md +++ b/docs/README.en.md @@ -68,9 +68,12 @@ You can learn more about working with the configuration file [here](GUIDE.en.md# ## Building -_near CLI_ is written in Rust, so you'll need to install +Prerequisites: + +* _near CLI_ is written in Rust, so you'll need to install [Rust](https://www.rust-lang.org/) in order to compile it. -_near CLI_ compiles with Rust 1.64.0 (stable) or newer. In general, _near CLI_ tracks the latest stable release of the Rust compiler. + _near CLI_ compiles with Rust 1.80.0 (stable) or newer. In general, _near CLI_ tracks the latest stable release of the Rust compiler. +* libudev-dev (Debian/Ubuntu: `apt install libudev-dev`) To build _near CLI_: @@ -79,5 +82,5 @@ $ git clone https://github.com/near/near-cli-rs.git $ cd near-cli-rs $ cargo build --release $ ./target/release/near --version -near 0.2.4 +near 0.17.0 ```