macOS
brew install harbor-clilocal Homebrew formula metadata
安装
brew install harbor-clilocal Homebrew formula metadata
nix profile install nixpkgs#harbor-clinixpkgs package indexes · pkgs/by-name/ha/harbor-cli/package.nix · 来源: api.github.com
sudo zypper install harbor-cliopenSUSE Tumbleweed package metadata · harbor-cli · 来源: download.opensuse.org
winget install --id GoHarbor.Harbor -eWindows Package Manager source index · GoHarbor.Harbor · 来源: cdn.winget.microsoft.com
概览
CLI for Harbor container registry
历史
Harbor CLI is the command-line companion for Harbor, the CNCF graduated registry used to secure and manage container images and other artifacts. The CLI's history is best understood as part of Harbor's move from a registry server with a web UI and APIs into scriptable cloud-native operations.
CNCF's Harbor project journey report says Daniel Jiang made Harbor's first commit on 2016-02-01, Harbor joined CNCF on 2018-07-31, and it reached graduated status on 2020-06-23. The Harbor homepage describes the project as an open source registry that secures artifacts with policies, role-based access control, scanning, and signing.
The Harbor CLI repository history begins in April 2023. Its README defines the CLI as an alternative to the Harbor WebUI and as a tool for scripting common repeatable Harbor tasks from a workstation or pipeline.
Harbor's adoption came from enterprise and cloud-native needs around private registries, Kubernetes, Docker image distribution, vulnerability scanning, signing, replication, and policy enforcement. CNCF graduation gave the broader project a clear governance and ecosystem signal.
Harbor CLI adoption follows the automation need: once registry operations are part of CI/CD and platform engineering workflows, a package-manager-installable `harbor` command is easier to script than a browser session.
The CLI manages Harbor resources such as projects, repositories, artifacts, labels, tags, quotas, webhooks, robot accounts, users, registries, replication, scanners, schedules, health, and CLI config.
It stores configuration and login-related material under the Harbor CLI config location, with environment variables available for containerized or scripted use.
Harbor CLI is package-nerd relevant because it brings a cloud service administration surface into local package managers. A small CLI package becomes the reproducible interface between laptops, CI runners, and Harbor registries.
The package also carries the usual Go CLI concerns: static binaries, shell completion, config paths, credential handling, release artifacts, and platform-specific bottles or packages.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$HARBOR_CLI_CONFIG$XDG_CONFIG_HOME/harbor-cli/config.yaml~/.config/harbor-cli/config.yamlCredential-bearing paths to review before unattended agent runs.
$HARBOR_CLI_CONFIG$XDG_CONFIG_HOME/harbor-cli/config.yaml~/.config/harbor-cli/config.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
harbor | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/goharbor/harbor-cli
安装元数据
| 软件包键 | brew:harbor-cli |
|---|---|
| 版本 | 0.0.24 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/harbor-cli |
| 主页 | https://github.com/goharbor/harbor-cli |
| 仓库 | https://github.com/goharbor/harbor-cli |
| 上游文档 | https://github.com/goharbor/harbor-cli#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/goharbor/harbor-cli/archive/refs/tags/v0.0.24.tar.gz |
| 最后更新 | 2026-07-07T16:39:12Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | harbor-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
harbor-cli
nix profile install nixpkgs#harbor-cliharbor-cli 0.0.22-1.1
CLI for the Harbor cloud native registry
https://github.com/harbor/harbor-cli
sudo zypper install harbor-cliharbor-cli-bash-completion 0.0.22-1.1
Bash Completion for harbor-cli
https://github.com/harbor/harbor-cli
sudo zypper install harbor-cli-bash-completionharbor-cli-fish-completion 0.0.22-1.1
Fish Completion for harbor-cli
https://github.com/harbor/harbor-cli
sudo zypper install harbor-cli-fish-completionharbor-cli-zsh-completion 0.0.22-1.1
Zsh Completion for harbor-cli
https://github.com/harbor/harbor-cli
sudo zypper install harbor-cli-zsh-completionGoHarbor.Harbor
winget install --id GoHarbor.Harbor -eIvanCharapanau.Harbor
winget install --id IvanCharapanau.Harbor -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.