Files
lodestar/docs/install/source.md
Phil Ngo 882c8e627d Remove remaining node16 references (#4913)
remove remaining node16 refs
2022-12-16 00:45:34 +00:00

1.0 KiB

Install from source

Make sure to have Yarn installed. It is also recommended to install NVM (Node Version Manager) and use the LTS version (currently v18) of NodeJS.

!!! info NodeJS versions older than the current LTS are not supported by Lodestar. We recommend running the latest Node LTS.

Clone the repo locally.

git clone https://github.com/chainsafe/lodestar.git

Install across all packages. Lodestar follows a monorepo structure, so all commands below must be run in the project root. Use the --ignore-optional flag to prevent downloading the Ethereum Consensus spec tests.

yarn install --ignore-optional

Build across all packages.

yarn run build

Or if you are using Lerna:

lerna bootstrap

Lodestar should now be ready for use.

./lodestar --help