Installing the CLI
In order to interact with Tekton from a terminal, you need to install the Tekton CLI (tkn
).
Installing from binary
For macOS X
-
Get the
tar.xz
:curl -LO https://github.com/tektoncd/cli/releases/download/v0.2.2/tkn_0.2.2_Darwin_x86_64.tar.gz
-
Extract
tkn
to your PATH:sudo tar xvzf tkn_0.2.2_Darwin_x86_64.tar.gz -C /usr/local/bin tkn
Installing with Go language
You should have Go language installed and the go environment set up correctly.
To install Tekton CLI with Go, run:
GO111MODULE="on" go get github.com/tektoncd/cli@v0.2.2