Skip to content

Installation

You have the following options to install the operator-builder CLI:

wget

Use wget to download the pre-compiled binaries:

1
2
3
4
5
VERSION=v0.11.0
OS=Linux
ARCH=x86_64
wget https://github.com/nukleros/operator-builder/releases/download/${VERSION}/operator-builder_${VERSION}_${OS}_${ARCH}.tar.gz -O - |\
    tar -xz && sudo mv operator-builder /usr/local/bin/operator-builder

Homebrew

Available for Mac and Linux.

Using Homebrew

1
2
brew tap nukleros/tap
brew install nukleros/tap/operator-builder

Docker Image

1
docker pull ghcr.io/nukleros/operator-builder

One-shot container use

1
docker run --rm -v "${PWD}":/workdir ghcr.io/nukleros/operator-builder [flags]

Run container commands interactively

1
docker run --rm -it -v "${PWD}":/workdir --entrypoint sh ghcr.io/nukleros/operator-builder

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

1
2
3
operator-builder() {
  docker run --rm -i -v "${PWD}":/workdir ghcr.io/nukleros/operator-builder "$@"
}

Go Install

1
go install github.com/nukleros/operator-builder/cmd/operator-builder@latest