Skip to content

Commit 5927f4b

Browse files
authored
docs: Extended the documentation for building NEAR CLI from the source code (#430)
Closes #429 @race-of-sloths include
1 parent 3fc78b6 commit 5927f4b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ https://github.com/user-attachments/assets/4a7e4633-1957-4dc2-a032-827fa9c06c29
6868

6969
Install it with `cargo`, just make sure you have [Rust](https://rustup.rs) installed on your computer.
7070

71+
> 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`.
72+
7173
```bash
7274
cargo install near-cli-rs
7375
```

docs/README.en.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ You can learn more about working with the configuration file [here](GUIDE.en.md#
6868

6969
## Building
7070

71-
_near CLI_ is written in Rust, so you'll need to install
71+
Prerequisites:
72+
73+
* _near CLI_ is written in Rust, so you'll need to install
7274
[Rust](https://www.rust-lang.org/) in order to compile it.
73-
_near CLI_ compiles with Rust 1.64.0 (stable) or newer. In general, _near CLI_ tracks the latest stable release of the Rust compiler.
75+
_near CLI_ compiles with Rust 1.80.0 (stable) or newer. In general, _near CLI_ tracks the latest stable release of the Rust compiler.
76+
* libudev-dev (Debian/Ubuntu: `apt install libudev-dev`)
7477

7578
To build _near CLI_:
7679

@@ -79,5 +82,5 @@ $ git clone https://github.com/near/near-cli-rs.git
7982
$ cd near-cli-rs
8083
$ cargo build --release
8184
$ ./target/release/near --version
82-
near 0.2.4
85+
near 0.17.0
8386
```

0 commit comments

Comments
 (0)