Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 1.79 KB

installation.md

File metadata and controls

75 lines (50 loc) · 1.79 KB

Detailed Installation Instructions

Manual install

wget

Use wget to download the pre-compiled binaries:

wget https://github.com/joefitzgerald/traverse/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
  tar xz && mv ${BINARY} /usr/bin/traverse

For instance, VERSION=v0.3.1 and BINARY=traverse_${VERSION}_linux_amd64

MacOS / Linux via Homebrew install

Using Homebrew

brew tap joefitzgerald/tap
brew install traverse

Docker image pull

docker pull ghcr.io/joefitzgerald/traverse

One-shot container use

docker run --rm -v "${PWD}":/workdir ghcr.io/joefitzgerald/traverse [flags]

Run container commands interactively

docker run --rm -it -v "${PWD}":/workdir --entrypoint sh ghcr.io/joefitzgerald/traverse

It can be useful to have a bash function to avoid typing the whole docker command:

traverse() {
  docker run --rm -i -v "${PWD}":/workdir ghcr.io/joefitzgerald/traverse "$@"
}

Go install

GO111MODULE=on go get github.com/joefitzgerald/traverse/cmd/traverse