- Install go lang from brew:
brew install go
- Install the following extensions:
- Install golines package:
go install github.com/segmentio/golines@latest
- Add go binaries to PATH:
echo 'export PATH="$HOME/go/bin:${PATH}"' >> ~/.profile
cd src && go run .