Skip to main content

routerd

routerd is the command-line interface and daemon that connects to Router and enables you to interact with the Router chain. Router Core is the official Golang reference implementation of the Router node software.

Quick Start

To install routerd and interact with the Router Core without running a node, run the following commands on your terminal/cmd:

git clone https://github.com/router-protocol/router-chain.git
cd router-chain
git checkout dev
make install

Verify the installation by running the following command:

routerd version
Troubleshooting Common Issues
  • If you are on a Windows machine and the make software is not preinstalled, install it using the instructions given here.

  • If you get the following error while cloning the router-chain git repo: remote: Support for password authentication was removed on August 13, 2021 then follow the steps given here to resolve it.

  • If you get the following error while running make install on your Mac: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun then follow the steps given here to resolve it.

  • make install will copy routerd to $HOME/go/bin by default. If you get the following error: zsh: command not found: routerd then add the following two commands to the ~/.zshrc file:

    export GOPATH=$HOME/go
    export PATH=$GOPATH:$GOPATH/bin:$PATH
  • To find the ~/.zshrc file, go to Finder -> Home (your Mac user account) and unhide hidden files by pressing cmd + shift + . simultaneously.