# harbor-cli を Homebrew, Nix, zypper, winget でインストール

harbor-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:harbor-cli
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install harbor-cli
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#harbor-cli
```

  証拠: nixpkgs package indexes: pkgs/by-name/ha/harbor-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install harbor-cli
```

  証拠: openSUSE Tumbleweed package metadata: harbor-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id GoHarbor.Harbor -e
```

  証拠: Windows Package Manager source index: GoHarbor.Harbor from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:harbor-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.0.24
- **ソース概要:** CLI for Harbor container registry
- **ホームページ:** <https://github.com/goharbor/harbor-cli>
- **リポジトリ:** <https://github.com/goharbor/harbor-cli>
- **最終更新:** 2026-07-27T14:32:22+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- harbor (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.0.24
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2016-02-01: CNCF reports the first Harbor commit.
- 2018-07-31: Harbor joins CNCF.
- 2020-06-23: Harbor reaches CNCF graduated status.
- 2023-04-23: Harbor CLI repository history begins with an initial commit.
- 2024-10-29: Official git tag history includes v0.0.1-era release pipeline work.

### Related projects

- Related projects include Harbor, Docker Distribution, Kubernetes, Helm, Notary-style signing workflows, vulnerability scanners, OCI artifacts, and CNCF cloud-native tooling.
- The CLI is also adjacent to API automation and CI/CD systems that need non-interactive registry administration.

### ソース

- <https://github.com/goharbor/harbor-cli>
- <https://goharbor.io/>
- <https://goharbor.io/cli-docs/>
- <https://www.cncf.io/reports/harbor-project-journey-report/>


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

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.


## Configuration files

- Unix: $HARBOR_CLI_CONFIG, $XDG_CONFIG_HOME/harbor-cli/config.yaml, ~/.config/harbor-cli/config.yaml

## Credential files

- Unix: $HARBOR_CLI_CONFIG, $XDG_CONFIG_HOME/harbor-cli/config.yaml, ~/.config/harbor-cli/config.yaml
## 他のパッケージマネージャ記録

- Nix - harbor-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/ha/harbor-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - harbor-cli - 0.0.24-1.2: normalized package name match | openSUSE Tumbleweed package metadata: harbor-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI for the Harbor cloud native registry | https://github.com/harbor/harbor-cli
- zypper - harbor-cli-bash-completion - 0.0.24-1.2: normalized package name match | openSUSE Tumbleweed package metadata: harbor-cli-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for harbor-cli | https://github.com/harbor/harbor-cli
- zypper - harbor-cli-fish-completion - 0.0.24-1.2: normalized package name match | openSUSE Tumbleweed package metadata: harbor-cli-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for harbor-cli | https://github.com/harbor/harbor-cli
- zypper - harbor-cli-zsh-completion - 0.0.24-1.2: normalized package name match | openSUSE Tumbleweed package metadata: harbor-cli-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for harbor-cli | https://github.com/harbor/harbor-cli
- winget - GoHarbor.Harbor: normalized package name match | Windows Package Manager source index: GoHarbor.Harbor from https://cdn.winget.microsoft.com/cache/source.msix
- winget - IvanCharapanau.Harbor: installed executable or alias match | Windows Package Manager source index: IvanCharapanau.Harbor from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## ソース

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