Easy steps to install wal2json package on Mac
Package Information:
Application Name – wal2json
What is wal2json – Not Available for wal2json
Use of wal2json – Convert PostgreSQL changesets to JSON format
URL – https://github.com/eulerto/wal2json
Installation Steps:
- Open Terminal using Spotlight search by pressing  <command+space>. Type terminal and hitEnterkey.
- Now, run following command to install homebrew (brew)
- Install wal2json using brew
brew install wal2json 

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

wal2json is ready to use now!