Skip to main content

Neutron build from sources

This page contains information about building Neutron node from sources


Build and run

1. Make sure you have the required golang version

go version

The output should comply with the golang version mentioned in the Prerequisites section.

2. Clone Neutron core repository and cd into it

git clone -b v1.0.4
cd neutron

3. Build a Neutron node image

make install

The command above will build a Neutron binary and store it under your $GOBIN directory. If you have it in your $PATH, neutrond binary should be available for execution:

neutrond version

If you have problems with PATH-related stuff, please refer to the go releases and instructions link in the prerequisites section.