= Overview
{product-author}
{product-version}
:data-uri:
:icons:
:experimental:

With the OpenShift command line interface (CLI), you can
link:../dev_guide/new_app.html[create applications] and manage OpenShift
link:../dev_guide/projects.html[projects] from a terminal. The CLI is ideal in
situations where you are:

- Working directly with project source code.
- Scripting OpenShift operations.
- Restricted by bandwidth resources and cannot use the
link:../architecture/infrastructure_components/web_console.html[web console].

The OpenShift CLI is available using the `oc` command:

----
$ oc <command>
----

ifdef::openshift-enterprise[]
You can download and unpack the CLI with an active OpenShift Enterprise
subscription from the
https://access.redhat.com/downloads/content/290[Red
Hat Customer Portal].
endif::[]

ifdef::openshift-origin[]
You can download and unpack the CLI from the
https://github.com/openshift/origin/releases[Releases page] of the OpenShift
Origin source repository on GitHub.
endif::[]

[NOTE]
====
The CLI command examples presented through OpenShift documentation use
`oc` command syntax. If the `oc` binary is not available on your workstation,
you can alternatively substitute `openshift cli` in the examples if you
have the `openshift` binary.
====

= Overview
{product-author}
{product-version}
:data-uri:
:icons:
:experimental:

With the OpenShift command line interface (CLI), you can
link:../dev_guide/new_app.html[create applications] and manage OpenShift
link:../dev_guide/projects.html[projects] from a terminal. The CLI is ideal in
situations where you are:

- Working directly with project source code.
- Scripting OpenShift operations.
- Restricted by bandwidth resources and cannot use the
link:../architecture/infrastructure_components/web_console.html[web console].

The OpenShift CLI is available using the `oc` command:

----
$ oc <command>
----

ifdef::openshift-enterprise[]
You can download and unpack the CLI with an active OpenShift Enterprise
subscription from the
https://access.redhat.com/downloads/content/290[Red
Hat Customer Portal].
endif::[]

ifdef::openshift-origin[]
You can download and unpack the CLI from the
https://github.com/openshift/origin/releases[Releases page] of the OpenShift
Origin source repository on GitHub.
endif::[]

[NOTE]
====
The CLI command examples presented through OpenShift documentation use
`oc` command syntax. If the `oc` binary is not available on your workstation,
you can alternatively substitute `openshift cli` in the examples if you
have the `openshift` binary.
====

[NOTE]
====
Certain operations require Git to be locally installed on a client. For example the command to create an application using a remote Git repository:
`$ oc new-app \https://gitrepository/app`
====


Document Git as a prerequisite of the CLI client
Document Git as a prerequisite of the CLI client