The easiest way to install from Homebrew is of course
❯ brew install wtfutil
Or, to stay up-to-date with the very latest release at all times, tap the cask that is generated on each new release:
❯ brew tap wtfutil/wtfutil ❯ brew install wtfutil ❯ wtfutil
As a Binary
Grab the latest version from the Releases page.
Expand it, and
cd into the resulting directory. Then run:
and that should also do it.
Download the source code repo and install the dependencies:
# Set the Go proxy variable to GoCenter ❯ export GOPROXY="https://gocenter.io" # Enable Go modules ❯ export GO111MODULE=on ❯ go get -u github.com/wtfutil/wtf ❯ cd $GOPATH/src/github.com/wtfutil/wtf ❯ make install ❯ make run
and that should do it.