A homebrew tap formula for the pocket binary
These instructions will get you a copy of pocketd
on your local machine.
Follow the official instructions here.
To install Homebrew on Mac:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
To install Homebrew on Linux:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
You might need to run the following commands afterwards:
echo >> /home/${USER}/.bashrc
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/${USER}/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
sudo apt-get install build-essential
To install pocketd
using brew, run the following commands:
brew tap pokt-network/poktroll
brew install pocketd
Make sure that the installation was successful by running the following command:
pocketd --help
You can check the latest version by running:
pocketd version
You can check which binary you're using by one of the following commands:
On macOS, we expect something similar to the following:
whereis pocketd
# /opt/homebrew/bin/pocketd
which pocketd
# pocketd: /opt/homebrew/bin/pocketd
On Linux, we expect something similar to the following:
whereis pocketd
# pocketd: /home/linuxbrew/.linuxbrew/bin/pocketd
which pocketd
# /home/linuxbrew/.linuxbrew/bin/pocketd
To update the formula, simply run the following command with the new version of the binary:
For example, to update to version RC-0.12.0:
make tap_update_version
Installing pocketd:
make tap_test_install
Reinstalling pocketd:
make tap_test_reinstall