feat: add cargo binstall support (#3578)

This commit is contained in:
qedk
2023-07-05 17:03:56 +04:00
committed by GitHub
parent ceb4e355a2
commit 706fc41816
2 changed files with 12 additions and 0 deletions

View File

@ -26,3 +26,10 @@ As an example, you could install the Linux x86_64 version like so:
1. Test the binary with `./reth --version` (it should print the version).
2. (Optional) Move the `reth` binary to a location in your `PATH`, so the `reth` command can be called from anywhere.
For most Linux distros, you can move the binary to `/usr/local/bin`: `sudo cp ./reth /usr/local/bin`.
### Using `cargo-binstall`
Alternatively, if you have [binstall](https://github.com/cargo-bins/cargo-binstall) installed, you can use it to install and load the binary:
```bash
cargo binstall reth
```