# 使用 Homebrew, Nix, scoop 安装 odo-dev

查看 odo-dev 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:odo-dev
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install odo-dev
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#odo
```

  证据: nixpkgs package indexes: pkgs/by-name/od/odo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/odo
```

  证据: Scoop official bucket manifest trees: bucket/odo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:odo-dev
- **软件包管理器:** Homebrew
- **版本:** 3.16.1
- **来源摘要:** Developer-focused CLI for Kubernetes and OpenShift
- **主页:** <https://odo.dev>
- **仓库:** <https://github.com/redhat-developer/odo>
- **最后更新:** 2026-07-17T17:20:41+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- odo (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.16.1
## 项目历史与用法

odo-dev is Homebrew's developer-oriented package for Red Hat's `odo`, a CLI for iterative container application development on OpenShift, Kubernetes, and later Podman. It should not be confused with `brew:odo`, the unrelated Atomic Object counter tool.

### 项目历史

The redhat-developer/odo repository was created on January 23, 2018. Red Hat's own deprecation article says odo was first released in 2019 as a simple, fast, developer-focused CLI intended to streamline the lifecycle of applications on OpenShift and Kubernetes without requiring developers to become cluster experts.

odo evolved from an OpenShift developer convenience tool into an implementation of the open Devfile standard. The project README describes it as an iterative CLI for container-based application development that supports Podman, Kubernetes, and OpenShift, with automatic project detection, direct orchestrator API communication, and avoidance of hand-written Kubernetes YAML for common inner-loop work.

Red Hat announced official deprecation on October 23, 2025. The deprecation notice set March 31, 2026 as the end-of-life date after which Red Hat would stop maintenance, security updates, and technical support, and it recommended OpenShift Dev Spaces for inner-loop development plus Podman and `oc` for outer-loop and cluster operations.

### 采用历史

odo's adoption was tied to Red Hat OpenShift documentation and the Devfile ecosystem. OpenShift docs presented it as a tool to create, develop, test, debug, and deploy microservice-based applications on OpenShift Container Platform and Kubernetes without deep platform knowledge.

The same Red Hat deprecation article cited low adoption rates and limited community engagement as reasons to redirect resources. On July 1, 2026, the GitHub repository API showed 841 stars, 243 forks, and an archived repository, which matches the story of a serious vendor-backed tool that did not become the dominant Kubernetes developer interface.

### 使用方式

Developers used `odo init`, `odo dev`, `odo deploy`, and related commands to create a Devfile-backed component, run or sync it into a development environment, and push resources into Kubernetes or OpenShift. Earlier OpenShift documentation described a create-and-push workflow in which local configuration produced resources stored through the Kubernetes API.

In version 3, odo emphasized Devfile metadata, project analysis, Podman support for local workflows, and deployment paths that could target Kubernetes or OpenShift. Release notes around v3.9 and v3.10 show work on Pod Security Admission, Devfile `autoBuild` and `deployByDefault`, custom port mappings, Podman behavior, and `odo analyze` output.

### 为什么软件包爱好者会关心

odo-dev matters in package metadata because its executable name collides with another Homebrew formula named `odo`. The formula name encodes the package-manager workaround: `odo-dev` installs Red Hat's OpenShift/Kubernetes developer CLI, while `odo` installs Atomic Object's atomic odometer.

The package is also a good example of lifecycle metadata that package indexes need to retain. A CLI can remain installable after upstream deprecation, but history should explain why it existed, which workflows it served, and which replacements the maintainer recommended.

### 时间线

- January 23, 2018: The redhat-developer/odo GitHub repository was created.
- 2019: Red Hat says odo was first released as a developer-focused CLI for OpenShift and Kubernetes application lifecycle work.
- 2023-2024: The 3.x release line developed Devfile, Podman, Kubernetes, and OpenShift workflows, including Pod Security Admission and Devfile field support.
- October 23, 2025: Red Hat announced official deprecation.
- March 31, 2026: Red Hat's announced end-of-life date for maintenance, security updates, and technical support.

### Related projects

- odo is related to OpenShift, Kubernetes, Podman, Devfile, OpenShift Dev Spaces, and the `oc` CLI. Red Hat's migration guidance explicitly mapped local container/image work toward Podman and cluster management toward `oc`.

### 来源

- <https://api.github.com/repos/redhat-developer/odo>
- <https://developers.redhat.com/articles/2025/10/23/odo-cli-deprecated-what-developers-need-know>
- <https://devfile.io/docs/2.0.0/quickstart-odo>
- <https://docs.redhat.com/en/documentation/openshift_container_platform/4.9/html/cli_tools/developer-cli-odo>
- <https://formulae.brew.sh/formula/odo-dev>
- <https://github.com/redhat-developer/odo>
- <https://github.com/redhat-developer/odo/releases/tag/v3.16.1>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

## 其他软件包管理器记录

- Nix - odo: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/od/odo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/odo: installed executable or alias match | Scoop official bucket manifest trees: bucket/odo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/odo-dev.yml](https://github.com/mxcl/pkgdb/blob/main/combined/odo-dev.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
