<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>cli installation on OpenShift Basics Training</title><link>/setup/local-usage/cli-installation/</link><description>Recent content in cli installation on OpenShift Basics Training</description><generator>Hugo</generator><language>en</language><atom:link href="/setup/local-usage/cli-installation/index.xml" rel="self" type="application/rss+xml"/><item><title>Windows</title><link>/setup/local-usage/cli-installation/windows/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/setup/local-usage/cli-installation/windows/</guid><description>&lt;h2 id="installation-for-windows">Installation for Windows&lt;/h2>
&lt;p>The straight-forward way to installing &lt;code>oc&lt;/code> on your system is to install by downloading the binary.
This is what we are going to do step by step:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>First, download &lt;code>oc&lt;/code>. The following URL directly points to the latest stable &lt;code>oc&lt;/code> version:&lt;/p>
&lt;p>&lt;a href="https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-windows.zip" target="_blank" rel="noopener">https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-windows.zip&lt;/a>
&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Unzip the downloaded archive with a ZIP program.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Move the &lt;code>oc&lt;/code> binary to a directory that is on your &lt;code>PATH&lt;/code>.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;div class="alert alert-info" role="alert">
&lt;h4 class="alert-heading">Note&lt;/h4>
&lt;p>To check your &lt;code>PATH&lt;/code>, open the command prompt and execute the following command:&lt;/p></description></item><item><title>macOS</title><link>/setup/local-usage/cli-installation/macos/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/setup/local-usage/cli-installation/macos/</guid><description>&lt;h2 id="installation-for-macos">Installation for macOS&lt;/h2>
&lt;p>The straight-forward way to installing &lt;code>oc&lt;/code> on your system is to install by downloading the binary.
This is what we are going to do step by step.&lt;/p>
&lt;div class="alert alert-info" role="alert">
&lt;h4 class="alert-heading">Note&lt;/h4>
&lt;p>With Homebrew, use &lt;code>brew install openshift-cli&lt;/code>.&lt;/p>
&lt;/div>
&lt;ol>
&lt;li>
&lt;p>First, download &lt;code>oc&lt;/code>. The following URL directly points to the latest stable &lt;code>oc&lt;/code> version:&lt;/p>
&lt;p>&lt;a href="https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-mac.tar.gz" target="_blank" rel="noopener">https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-mac.tar.gz&lt;/a>
&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Change into the directory in which you downloaded the file. Unpack the archive, e.g. with:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>tar xvzf openshift-client-mac.tar.gz
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Place the &lt;code>oc&lt;/code> binary in a directory that is on your &lt;code>PATH&lt;/code>.&lt;/p></description></item><item><title>Linux</title><link>/setup/local-usage/cli-installation/linux/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/setup/local-usage/cli-installation/linux/</guid><description>&lt;h2 id="installation-for-linux">Installation for Linux&lt;/h2>
&lt;p>The straight-forward way to installing &lt;code>oc&lt;/code> on your system is to install by downloading the binary.
This is what we are going to do step by step:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>First, download &lt;code>oc&lt;/code>. The following URL directly points to the latest stable &lt;code>oc&lt;/code> version:&lt;/p>
&lt;p>&lt;a href="https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux.tar.gz" target="_blank" rel="noopener">https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux.tar.gz&lt;/a>
&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Change into the directory in which you downloaded the file. Unpack the archive:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>tar xvzf openshift-client-linux.tar.gz
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Place the &lt;code>oc&lt;/code> binary in a directory that is on your &lt;code>PATH&lt;/code>.&lt;/p></description></item></channel></rss>