# 使用 Homebrew 安装 gaze

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

## 安装

```sh
sudo av install brew:gaze
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gaze
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gaze
- **软件包管理器:** Homebrew
- **版本:** 1.2.1
- **来源摘要:** Execute commands for you
- **主页:** <https://github.com/wtetsu/gaze>
- **仓库:** <https://github.com/wtetsu/gaze>
- **最后更新:** 2026-07-25T20:55:21-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gaze (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Gaze is a command-line file watcher that runs commands when files change. Its README describes the tool as a way to stay focused on code while Gaze reruns tests, linters, builds, scripts, or servers after saves.

### 项目历史

The official repository was created in 2019 and is maintained as a Go CLI. The project emphasizes out-of-the-box defaults, language-agnostic command execution, pattern matching, restart behavior, timeouts, multi-command runs, and a YAML configuration view.

### 采用历史

Official adoption evidence is light, but the project is packaged in Homebrew and published with cross-platform binaries. The README also positions Gaze for modern AI-assisted development workflows, where an agent edits files and a watcher reruns checks automatically.

### 使用方式

The simplest use is `gaze .` or `gaze a.py`; Gaze watches matching files and runs a default or user-specified command. Users can pass glob patterns, set a custom command with `-c`, restart previous processes with `-r`, set timeouts with `-t`, and inspect default YAML with `gaze -y`.

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

Gaze belongs to the family of small developer-loop CLIs where the package is valuable because it removes shell glue from everyday workflows. It is package-manager relevant as a single binary alternative to language-specific watchers, with defaults for many languages and no project-specific dependency stack.

### 时间线

- 2019: The official GitHub repository was created.
- 2020s: The project published tagged releases and cross-platform binaries.
- 2020s: The README added AI-agent workflow examples alongside traditional save-and-run usage.

### Related projects

- Gaze is related to file-watching command runners and developer-loop automation tools. Its README explicitly compares the workflow to running tests, linters, builds, scripts, and server restarts after source changes.

### 来源

- <https://github.com/wtetsu/gaze>
- <https://github.com/wtetsu/gaze#readme>
- <https://github.com/wtetsu/gaze/releases>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
