# 使用 Homebrew 安装 define

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

## 安装

```sh
sudo av install brew:define
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install define
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:define
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/define>
- **版本:** 0.4.0
- **来源摘要:** Command-line dictionary (thesaurus) app, with access to multiple sources
- **主页:** <https://github.com/Rican7/define>
- **仓库:** <https://github.com/Rican7/define>
- **上游文档:** <https://github.com/Rican7/define#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/Rican7/define/archive/refs/tags/v0.4.0.tar.gz>
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- define (cli)
- define (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.4.0
- 本地数据: OK
- 上游仓库: https://github.com/Rican7/define
- 检测到的最新版本: v0.4.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

define is a Go command-line dictionary and thesaurus client that can query multiple reference sources from the terminal.

### 项目历史

The README describes define as a command-line dictionary and thesaurus application with multiple sources. Its configuration model was built for CLI use: command-line flags override environment variables, which override JSON configuration files.

The public release history starts with v0.1.0 in March 2018, followed by small 0.1.x releases and later 0.2, 0.3, and 0.4 releases through March 2024.

### 采用历史

define is packaged for Homebrew and also supports `go install`, so it fits both package-manager installation and Go developer workflows.

### 使用方式

The tool is used as a terminal reference lookup. Its README calls out command-line flags for one-off use, environment variables for API keys, and configuration files for dotfile-friendly defaults such as preferred sources.

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

define is interesting as a small example of packaging API-backed reference data for the shell. It has the classic CLI shape - flags, environment variables, config files, release binaries, and `go install` - while depending on external dictionary services for some sources.

### 时间线

- 2018: v0.1.0 is published.
- 2023: v0.2.0 and v0.3.0 are published.
- 2024: v0.4.0 is published.

### Related projects

- The README documents Merriam-Webster and Oxford dictionary API credentials as source-specific integrations.

### 来源

- <https://github.com/Rican7/define>
- <https://github.com/Rican7/define/releases/tag/v0.1.0>
- <https://github.com/Rican7/define/releases/tag/v0.2.0>
- <https://github.com/Rican7/define/releases/tag/v0.3.0>
- <https://github.com/Rican7/define/releases/tag/v0.4.0>
- <https://formulae.brew.sh/formula/define>


## 安全说明

没有找到 define 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: $XDG_CONFIG_HOME/define/config.json, ~/.define.conf.json

## Credential files

- Unix: $XDG_CONFIG_HOME/define/config.json, ~/.define.conf.json
## 源数据库详情

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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [dict](https://www.automicvault.com/zh-hans/pkg/brew/dict/) - Shares av.db curated category or tags: cli, dictionary, productivity, reference.
- [eg](https://www.automicvault.com/zh-hans/pkg/brew/eg/) - Shares av.db curated category or tags: cli, productivity, reference.
- [aspell](https://www.automicvault.com/zh-hans/pkg/brew/aspell/) - Shares av.db curated category or tags: cli, dictionary, productivity.
- [cloudpan189-go](https://www.automicvault.com/zh-hans/pkg/brew/cloudpan189-go/) - Shares av.db curated category or tags: cli, go, productivity.
- [countdown](https://www.automicvault.com/zh-hans/pkg/brew/countdown/) - Shares av.db curated category or tags: cli, go, productivity.
- [cpdf](https://www.automicvault.com/zh-hans/pkg/brew/cpdf/) - Shares av.db curated category or tags: cli, command-line-tool, productivity.
- [go-jira](https://www.automicvault.com/zh-hans/pkg/brew/go-jira/) - Shares av.db curated category or tags: cli, go, productivity.
- [gucharmap](https://www.automicvault.com/zh-hans/pkg/brew/gucharmap/) - Shares av.db curated category or tags: cli, productivity, reference.

## Combined YAML source

View the package source record on GitHub. [combined/define.yml](https://github.com/automic-vault/db/blob/main/combined/define.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
