# 使用 npm 安装 oc

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

## 安装

```sh
sudo av install npm:oc
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g oc
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:oc
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/oc>
- **版本:** 0.50.59
- **来源摘要:** A framework for developing and distributing html components
- **主页:** <https://github.com/opencomponents/oc>
- **仓库:** <https://github.com/opencomponents/oc>
- **上游文档:** <https://github.com/opencomponents/oc>
- **许可证:** MIT
- **问题跟踪器:** <https://github.com/opencomponents/oc/issues>
- **发布时间:** 2026-07-23T17:33:23.629Z
- **最后更新:** 2026-07-23T17:33:23.629Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- oc (cli)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.50.59
- 管理器更新时间: 2026-07-23
- 本地数据: OK
- 上游仓库: https://github.com/opencomponents/oc
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 oc 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 0.50.57-beta.3, Latest: 0.50.59
- **Version Count:** 540
- **Maintainers:** matteofigus, arnoldzokas, andyroyle, federicomaffei, nickbalestra, jankowiakmaria, pbazydlo, chriscartlidge, lobut, jwhayes, mkredz
- **Author:** Matteo Figus
- **File Count:** 0
- **Created At:** 2015-01-21T00:03:17.914Z
- **Latest Published At:** 2026-07-23T17:33:23.629Z
- **Modified At:** 2026-07-23T17:33:23.629Z

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

- zypper - oc - 4.22.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: oc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Openshift / OKD Client CLI | https://github.com/openshift/oc
- zypper - oc-bash-completion - 4.22.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: oc-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for oc | https://github.com/openshift/oc
- zypper - oc-fish-completion - 4.22.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: oc-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for oc | https://github.com/openshift/oc
- zypper - oc-zsh-completion - 4.22.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: oc-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for oc | https://github.com/openshift/oc
- MacPorts - oc: normalized package name match | MacPorts ports tree: sysutils/oc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [polyserve](https://pkg.so/zh-hans/npm/polyserve/) - Both packages work with overlapping file formats or content types. Shared terms: cli, components, developer, developer-tools, development.
- [react-snap](https://pkg.so/zh-hans/npm/react-snap/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, development, framework.
- [haml-coffee](https://pkg.so/zh-hans/npm/haml-coffee/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, development, html.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
