Installing tkn
The following section describes how to install 'tkn' on different platforms.
Installing {op-title} on Linux
Binary installation
-
Download the binary:
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/tkn/latest/tkn-linux-amd64 -o /usr/local/bin/tkn
-
Make the binary file executable:
# chmod +x /usr/local/bin/odo
Tarball installation
Installing {op-title} on Windows
Binary installation
-
Download the latest
tkn.exe
file. -
Add the location of your
tkn.exe
file to thePATH
environment variable.
Installing {op-title} on macOS
Binary installation
-
Download the binary :
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/tkn/latest/tkn-linux-amd64 -o /usr/local/bin/tkn
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/tkn/latest/tkn-darwin-amd64 -o /usr/local/bin/tkn
-
Make the binary file executable:
# chmod +x /usr/local/bin/tkn