mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 09:08:05 -05:00
* Add MacOS installatin docs * move installatio instruction to book * move installatio instruction to book * fix installation link in readme * Remove installation link from docs, add link to installation in book summary Co-authored-by: Satoshi Okamoto <satoshi@butcher73.com>
1.3 KiB
1.3 KiB
Installation
(still WIP, please contribute!):
Ubuntu
Building the source
- install rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- install Requirements
- libclang-dev
- pkg-config
apt install libclang-dev pkg-config
- Build reth
git clone https://github.com/paradigmxyz/reth
cd reth
cargo build --all
./target/debug/reth
MacOS
To install and build reth on macOS using Homebrew, you can use the following steps
- Install rustup by running the following command in a terminal:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Install the necessary requirements by running the following command:
brew install llvm pkg-config
- Clone the reth repository and navigate to the directory:
git clone https://github.com/paradigmxyz/reth
cd reth
- Build reth using cargo:
cargo build --all
- Run reth:
./target/debug/reth
- Alternatively, you can use the following one-liner to install and build reth:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh && brew install llvm pkg-config && git clone https://github.com/paradigmxyz/reth && cd reth && cargo build --all && ./target/debug/reth