# 使用 Homebrew, winget 安装 harbour

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

## 安装

```sh
sudo av install brew:harbour
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install harbour
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id Harbour.Harbour -e
```

  证据: Windows Package Manager source index: Harbour.Harbour from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:harbour
- **软件包管理器:** Homebrew
- **版本:** 3.0.0
- **来源摘要:** Portable, xBase-compatible programming language and environment
- **主页:** <https://harbour.github.io>
- **仓库:** <https://github.com/harbour/core>
- **最后更新:** 2026-06-25T13:37:45+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- harbour (别名)
- hb3rdpat.hbs (别名)
- hbi18n (别名)
- hbmk2 (别名)
- hbpp (别名)
- hbtest (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Harbour is a free software implementation of a Clipper/xBase-compatible programming language, compiler, runtime, build system, and library environment. It exists to keep xBase-style business applications portable across modern systems.

### 项目历史

The official Harbour FAQ says the idea of a free software Clipper compiler had circulated in the comp.lang.clipper community, and that actual development began in early 1999 when Antonio Linares started discussing a Clipper grammar built with Lex and Yacc.

The official homepage describes Harbour as a cross-platform, multi-threading, object-oriented, scriptable language implementation with compiler and runtime libraries, UI/database/I/O backends, its own build system, and bindings for popular APIs.

The homepage lists a stable 3.0.0 release dated 2011-07-17, while the GitHub repository remains the official source-control location for the core implementation.

### 采用历史

Harbour's audience is narrower than a mainstream language runtime: it serves developers maintaining or modernizing CA-Clipper, dBase, FoxPro-like, and other xBase-family code. Its value is continuity for business/database applications that can be compiled and run on newer operating systems.

The supplied package facts show a small package-manager footprint, which fits a specialist language environment rather than a foundational system dependency.

### 使用方式

Users write or port xBase/Clipper-style source, compile it with Harbour tools, and link against Harbour runtime libraries and optional UI, database, networking, crypto, compression, or platform bindings.

The Homebrew package exposes compiler and tool executables such as `harbour`, `hbmk2`, `hbpp`, `hbi18n`, and `hbtest`, making it useful for rebuilding legacy applications or experimenting with xBase code on macOS.

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

Harbour is notable to package collectors because it preserves a business-programming lineage that otherwise belongs to DOS and early PC database tooling. It is a compatibility bridge, not just another compiler.

Packaging such a toolchain means caring about C compiler interoperability, runtime library layout, build helper tools, and cross-platform assumptions carried forward from Clipper-era source code.

### 时间线

- 1999: Official FAQ says actual Harbour development began in early 1999.
- 2000s: Harbour grows into a compiler plus runtime libraries, backends, build tooling, and API bindings.
- 2011-07-17: Official homepage lists Harbour 3.0.0 stable release.
- 2020s: Official GitHub repository hosts Harbour core as a portable xBase-compatible language and environment.

### Related projects

- Related projects and technologies include CA-Clipper, dBase, FoxPro, xHarbour, xBase++, FlagShip, DBF file tooling, and GUI libraries used by Harbour applications.
- Harbour also relates to C compilers because Harbour-generated or Harbour-linked programs depend on the platform C toolchain.

### 来源

- <https://github.com/harbour/core>
- <https://harbour.github.io/>
- <https://harbour.github.io/doc/>
- <https://harbour.github.io/faq>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

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

- winget - Harbour.Harbour: normalized package name match | Windows Package Manager source index: Harbour.Harbour from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/harbour.yml](https://github.com/mxcl/pkgdb/blob/main/combined/harbour.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
