Skip to main content
Version: 3.0

Neutron build from sources

This page contains information about building Neutron node from sources

Prerequisites

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 v3.0.2 https://github.com/neutron-org/neutron.git
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
2.0.3

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