# 使用 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
- **版本:** 0.1.1
- **来源摘要:** Fully-configurable hex grid generator
- **主页:** <https://www.nomic.net/~uckelman/mkhexgrid/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mkhexgrid (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
