$ tar xvzf <file>
Use the cli tool to manage Red Hat OpenShift Pipelines from a terminal. You can install the cli tool on different platforms.
Both the archives and the RPMs contain the following executables:
|
Running Red Hat OpenShift Pipelines with the For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope. |
For Linux distributions, you can download the cli as a tar.gz
archive.
Download the relevant cli tool.
Unpack the archive:
$ tar xvzf <file>
Add the location of your tkn
, tkn-pac
, and opc
files to your PATH
environment variable.
To check your PATH
, run the following command:
$ echo $PATH
For Red Hat Enterprise Linux (RHEL) version 8, you can install the Red Hat OpenShift Pipelines cli as an RPM.
You have an active OpenShift Container Platform subscription on your Red Hat account.
You have root or sudo privileges on your local system.
Register with Red Hat Subscription Manager:
# subscription-manager register
Pull the latest subscription data:
# subscription-manager refresh
List the available subscriptions:
# subscription-manager list --available --matches '*pipelines*'
In the output for the previous command, find the pool ID for your OpenShift Container Platform subscription and attach the subscription to the registered system:
# subscription-manager attach --pool=<pool_id>
Enable the repositories required by Red Hat OpenShift Pipelines:
Linux (x86_64, amd64)
# subscription-manager repos --enable="pipelines-1.14-for-rhel-8-x86_64-rpms"
Linux on IBM zSystems and IBM® LinuxONE (s390x)
# subscription-manager repos --enable="pipelines-1.14-for-rhel-8-s390x-rpms"
Linux on IBM Power (ppc64le)
# subscription-manager repos --enable="pipelines-1.14-for-rhel-8-ppc64le-rpms"
Linux on ARM (aarch64, arm64)
# subscription-manager repos --enable="pipelines-1.14-for-rhel-8-aarch64-rpms"
Install the openshift-pipelines-client
package:
# yum install openshift-pipelines-client
After you install the cli, it is available using the tkn
command:
$ tkn version
For Windows, you can download the cli as a zip
archive.
Download the cli tool.
Extract the archive with a ZIP program.
Add the location of your tkn
, tkn-pac
, and opc
files to your PATH
environment variable.
To check your PATH
, run the following command:
C:\> path
For macOS, you can download the cli as a tar.gz
archive.
Download the relevant cli tool.
Unpack and extract the archive.
Add the location of your tkn
, tkn-pac
, and opc
files to your PATH
environment variable.
To check your PATH
, run the following command:
$ echo $PATH