Skip to content

pokt-network/homebrew-poktroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-poktroll

A homebrew tap formula for the poktroll binary

Getting Started

These instructions will get you a copy of poktrolld on your local machine.

Installation

Install Homebrew

Follow the official instructions here.

MacOS

To install Homebrew on Mac:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Linux

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

Install Poktrolld

To install poktrolld using brew, run the following commands:

brew tap pokt-network/poktroll
brew install poktrolld

Check Poktrolld

Make sure that the installation was successful by running the following command:

poktrolld --help

You can check the latest version by running:

poktrolld version

Troubleshooting

Am I using the brew installed verion of poktrolld?

You can check which binary you're using by one of the following commands:

On macOS, we expect something similar to the following:

whereis poktrolld
# /opt/homebrew/bin/poktrolld
which poktrolld
# poktrolld: /opt/homebrew/bin/poktrolld

On Linux, we expect something similar to the following:

whereis poktrolld
# poktrolld: /home/linuxbrew/.linuxbrew/bin/poktrolld
which poktrolld
# /home/linuxbrew/.linuxbrew/bin/poktrolld

Homebrew Formula Development

Update Formula

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

Testing the Formula locally

Installing poktrolld:

make tap_test_install

Reinstalling poktrolld:

make tap_test_reinstall

About

A homebrew tap formula for the poktroll binary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published