odo: OpenShift CLI for Developers

A CLI tool for developers writing, building, and deploying applications on OpenShift. 

odo is a CLI that helps developers build on OpenShift

odo is a fast, iterative CLI for developers who write, build, and deploy applications on OpenShift. odo  is an open source project. It has a simple, extensible syntax that includes on-the-fly interactive help to construct the appropriate options for your commands.

odo  consolidates a series of separate steps to deploy your apps and make modifications. It can automatically check to ensure these changes have been correctly implemented and use the correct syntax. It replaces the oc command-line interface which required a deeper knowledge of OpenShift. odo  also uses the source-to-image (S2I) open-source project to automatically create container images from your source code with a single command line sequence, which automates and consolidates a series of previous manual steps.

Existing tools such as oc are more operations-focused and require a deep understanding of Kubernetes and OpenShift concepts. The  odo  CLI abstracts away complex Kubernetes and OpenShift concepts for the developer, thus allowing developers to focus on what is most important to them: code.

odo Features & Highlights

Simple syntax and design centered around concepts familiar to developers, such as project, application, and component.

Detects changes to local code and deploys it to the cluster automatically, giving instant feedback to validate changes in real-time.

No servers are required for its use, odo runs entirely on a local client and supports MacOS, Windows, and Linux

Lists all available components and services from the OpenShift cluster.

Obviates the need to use YAML code in many common circumstances.

Supports multiple languages and frameworks such as Node.js, Java, Ruby, Perl, PHP, and Python.

Video demo

Use odo to create applications on Kubernetes and OpenShift

Join us as we walk you through the basics of odo, an open source, straightforward, CLI-based tool that helps developers build and deploy to any Kubernetes cluster.

Developer odo evolution session from the Red Hat Summit 2020 virtual event

Did you miss the "Event-driven Architecture with Quarkus, Kafka, and OpenShift" session from 2020 Red Hat Summit?

Interactive odo and CLI Tutorials

Lesson

Developing with odo

10 minutes | Beginner

Use OpenShift Do (odo), a CLI tool for developers, to manage application components on the OpenShift Container Platform.

Lesson

Build and deploy applications with odo

15 minutes | Beginner

Get familiar with OpenShift Do (odo) and how to build and deploy applications on the OpenShift Container Platform.

Lesson

Using the CLI to Manage Resource Objects

15 minutes | Beginner

Use the oc command line tool to determine what resource objects have been created related to your application, and how you can query or update them.