# harbor-cli mit Homebrew, Nix, zypper, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für harbor-cli in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidenz: 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
```

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:harbor-cli
- **Paketmanager:** Homebrew
- **Version:** 0.0.24
- **Quellzusammenfassung:** CLI for Harbor container registry
- **Homepage:** <https://github.com/goharbor/harbor-cli>
- **Repository:** <https://github.com/goharbor/harbor-cli>
- **Zuletzt aktualisiert:** 2026-07-27T14:32:22+02:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- harbor (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.0.24
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

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


## Sicherheitshinweise

infrastructure mutation or orchestration signal.

- **Geiger-Risiko:** orange / mittel
- 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
## Andere Paketmanager-Einträge

- 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)


## Quellen

- 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
