Skip to main content

2-3: Install Pocket

Now we're ready to install the Pocket software. We'll be installing Pocket Core which, as mentioned, was developed in Go. So it requires the Go compiler, but that was installed with Go in the previous step.

To install Pocket Core, do the following:

  1. Create a project directory
    sudo mkdir -p $GOPATH/src/github.com/pokt-network
  2. CD to the project directory
    cd $GOPATH/src/github.com/pokt-network
  3. Get the Pocket Core code
    sudo git clone https://github.com/pokt-network/pocket-core.git
  4. CD to the code directory
    cd pocket-core
  5. Checkout the latest version
    sudo git checkout tags/RC-0.7.1
  6. Build project code
    go build -o $GOPATH/bin/pocket $GOPATH/src/github.com/pokt-network/pocket-core/app/cmd/pocket_core/main.go
  7. Test the installation
    pocket version

At this point we have all the software we need to run our Pocket node. But we'll need to configure it first. We'll start that next.