# 使用 Homebrew, MacPorts 安装 mkhexgrid

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

## 安装

```sh
sudo av install brew:mkhexgrid
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mkhexgrid
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mkhexgrid
```

  证据: MacPorts ports tree: graphics/mkhexgrid/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:mkhexgrid
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mkhexgrid>
- **版本:** 0.1.1
- **来源摘要:** Fully-configurable hex grid generator
- **主页:** <https://www.nomic.net/~uckelman/mkhexgrid/>
- **上游文档:** <https://www.nomic.net/~uckelman/mkhexgrid/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://www.nomic.net/~uckelman/mkhexgrid/releases/mkhexgrid-0.1.1.src.tar.bz2>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mkhexgrid (cli)
- mkhexgrid (别名)

## 依赖

- gd

## 构建依赖

- boost

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.1.1
- 本地数据: OK
- 上游仓库: https://www.nomic.net/~uckelman/mkhexgrid/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

mkhexgrid is a small command-line program by Joel Uckelman for generating configurable hexagonal grids, especially grids used for strategy games. The official page says it can create PNG, SVG, and PostScript output and can adjust line thickness, colors, center marks, coordinate styles, and coordinate placement.

### 项目历史

The project first released version 0.1.0 on August 6, 2006, with Windows and Linux binaries plus source packages. Version 0.1.1 followed on January 10, 2007, fixing several bugs and Mac OS X build issues.

### 采用历史

The official page announced FreeBSD Ports availability in December 2006 and recommended Fink for Mac OS X users. Homebrew and MacPorts later carried the package for users who wanted a scriptable hex-grid generator.

### 使用方式

mkhexgrid reads grid parameters from a spec file or standard input and writes output to a named file or standard output. The reference manual documents options for output format, image size, rows, columns, grid color, coordinate format, coordinate origin, and center marks.

Its practical niche is generating repeatable printable or image-based hex maps without opening a graphical map editor.

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

mkhexgrid is package-nerd interesting because it packages a very specific tabletop/strategy-game utility as a normal Unix command. It is small, source-archived, and useful in scripts that generate assets or print-ready grid sheets.

### 时间线

- 2006-08: mkhexgrid 0.1.0 initial release.
- 2006-12: Official news says mkhexgrid was added to FreeBSD Ports.
- 2007-01: mkhexgrid 0.1.1 released.

### Related projects

- mkhexgrid is related to strategy-game map tooling, tabletop hex maps, GD PNG generation, SVG, PostScript, FreeBSD Ports, Fink, Homebrew, and MacPorts.

### 来源

- <https://www.nomic.net/~uckelman/mkhexgrid/>
- <https://www.nomic.net/~uckelman/mkhexgrid/HISTORY>
- <https://www.nomic.net/~uckelman/mkhexgrid/README>
- <https://www.nomic.net/~uckelman/mkhexgrid/mkhexgrid.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mkhexgrid
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- MacPorts - mkhexgrid: normalized package name match | MacPorts ports tree: graphics/mkhexgrid/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [gd](https://pkg.so/zh-hans/brew/gd/) - Runtime dependency declared by Homebrew.
- [roll](https://pkg.so/zh-hans/brew/roll/) - Shares pkgdb curated category or tags: cli, games, tabletop.
- [rolldice](https://pkg.so/zh-hans/brew/rolldice/) - Shares pkgdb curated category or tags: cli, games, tabletop.
- [mame](https://pkg.so/zh-hans/brew/mame/) - Shares pkgdb curated category or tags: cli, games.
- [rom-tools](https://pkg.so/zh-hans/brew/rom-tools/) - Shares pkgdb curated category or tags: cli, games.
- [dosbox-x](https://pkg.so/zh-hans/brew/dosbox-x/) - Shares pkgdb curated category or tags: cli, games.
- [stockfish](https://pkg.so/zh-hans/brew/stockfish/) - Shares pkgdb curated category or tags: cli, games.
- [nethack](https://pkg.so/zh-hans/brew/nethack/) - Shares pkgdb curated category or tags: cli, games.
- [katago](https://pkg.so/zh-hans/brew/katago/) - Shares pkgdb curated category or tags: cli, games.
- [mapcrafter](https://pkg.so/zh-hans/brew/mapcrafter/) - Local package facts share a topical domain. Shared terms: cli, games, map, png.

## Combined YAML source

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


## 来源

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