Skip to content

Installation Instructions for Mac OS X

Yang LIU edited this page Aug 10, 2021 · 3 revisions

Building from source

Building Getrue (command line client)

Clone the repository to a directory of your choosing:

git clone https://github.com/truechain/truechain-engineering-code

Building getrue requires the Go compiler:

brew install go

Finally, build the getrue program using the following command.

cd truechain-engineering-code
git checkout release/2.1
make getrue

If you see some errors related to header files of Mac OS system library, install XCode Command Line Tools, and try again.

xcode-select --install

You can now run build/bin/getrue to start your node.