-
Notifications
You must be signed in to change notification settings - Fork 19
Install guide
To install the Farcaster stack on your machine from sources you need some terminal knowledge and know how to use your package manager. We provide an example for Debian/Ubuntu Linux flavors, Arch Linux and macOS, but you should be able to derive the requirements for your platform quite easily.
After instaling Rust don't forget to run source $HOME/.cargo/env
or start a new terminal session. The binaries will be installed in $HOME/.cargo/bin
.
Before installing from sources install the dependencies needed on Debian
, Archlinux
, or macOS
and Rust.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
Install from crates.io
cargo install farcaster_node --force
or clone and build the project
git clone https://github.com/farcaster-project/farcaster-node.git && cd farcaster-node
cargo install --path . --bins --all-features --locked --force
Install dependencies
apt-get install -y git curl libssl-dev pkg-config build-essential cmake
Install dependencies
pacman -Sy git base-devel cmake
Install Homebrew and Rust, then install the dependencies
brew install cmake
If you have the nix package manager installed, simply run
nix-shell shell.nix --pure
in the farcaster-node
root directory. Running in --pure
mode prevents contaminating the build environment with your local setup.