Chapter 2. Installing the Enterprise Contract command line
Chapter 2. Installing the Enterprise Contract command line Prerequisites A working Red Hat Trusted Artifact Signer installation on Red Hat OpenShift Container Platform version 4.13 or higher. A workstation with the cosign and oc binary files installed. Access to the OpenShift web console. Procedure Download the ec binary file from the OpenShift cluster. Log in to the OpenShift web console. From the home page, click the ? icon, select Command line tools , go to the ec download section, then click the link for your platform. Open a terminal on your workstation, decompress the binary .gz file, then set the execute bit: Example Move and rename the binary to a location within your USDPATH environment: Example Verification Run the ec version command. The result should be the version of the Enterprise Contract CLI that you just installed.
gunzip ec-amd64.gz chmod +x ec-amd64 sudo mv ec-amd64 /usr/local/bin/ec