# 使用 Homebrew, Nix 安装 galen

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

## 安装

```sh
sudo av install brew:galen
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install galen
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#galen
```

  证据: nixpkgs package indexes: pkgs/by-name/ga/galen/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:galen
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/galen>
- **版本:** 2.4.4
- **来源摘要:** Automated testing of look and feel for responsive websites
- **主页:** <https://galenframework.com/>
- **仓库:** <https://github.com/galenframework/galen>
- **上游文档:** <https://galenframework.com/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/galenframework/galen/releases/download/galen-2.4.4/galen-bin-2.4.4.zip>
- **最后更新:** 2026-06-22T14:03:24-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- galen (cli)
- galen (别名)

## 依赖

- openjdk

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.4.4
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/galenframework/galen
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Galen Framework is an open-source layout, responsive-design, and functional testing tool for websites. It combines Selenium-driven browser interaction with a domain-specific spec language for checking element positions, sizes, and visual relationships.

### 项目历史

The GitHub repository was created in September 2013. Upstream documentation says Galen was originally designed for testing web-application layout and later also became useful for functional testing.

The official documentation and release/news list show a 2.x line focused on spec language improvements, object groups, heatmaps, spec generation, and mutation testing. GitHub releases include the 2.4.x series through 2.4.4 in March 2019.

### 采用历史

Galen appeared during the responsive-web testing boom, when teams needed automated checks across browser sizes rather than only DOM-level assertions. Its adoption surface includes command-line use, Java/Maven/TestNG integration, JavaScript tests, IDE syntax support, BrowserStack examples, and package-manager entries in Homebrew and Nix from the supplied facts.

### 使用方式

A Galen test opens a page in a browser, resizes it to a requested viewport, and checks the layout against user-defined specs. When checks fail, Galen reports the error, makes a screenshot, and highlights the affected element.

Configuration is project-local through galen.config or global through ~/.galen.config, both documented by upstream.

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

Galen is package-relevant because it packages an opinionated browser-testing stack into a CLI/JVM tool at the boundary of Selenium, Java, JavaScript, and front-end workflow tooling. It also illustrates a once-common distribution pattern for QA tools: upstream zip/script installs plus package-manager wrappers.

### 时间线

- 2013: GitHub repository created.
- 2015: Galen 2.0 release announced with a new spec language implementation.
- 2016: Galen 2.3 release announced.
- 2018: Galen 2.4 release announced with spec generator and mutation testing.
- 2019: GitHub release galen-2.4.4 published.

### Related projects

- Galen depends conceptually on Selenium for browser interaction.
- Official docs link Java/TestNG usage, JavaScript tests, BrowserStack integration examples, and IDE support projects including galen.vim.

### 来源

- <https://api.github.com/repos/galenframework/galen>
- <https://api.github.com/repos/galenframework/galen/releases?per_page=10>
- <https://galenframework.com/docs/all/>
- <https://galenframework.com/docs/getting-started-configuration/>
- <https://github.com/galenframework/galen>
- <https://raw.githubusercontent.com/galenframework/galen/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

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


## 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: galen.config, ~/.galen.config
## 源数据库详情

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

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

- Nix - galen: normalized package name match | nixpkgs package indexes: pkgs/by-name/ga/galen/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing 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.
- [openjdk](https://pkg.so/zh-hans/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [bzt](https://pkg.so/zh-hans/brew/bzt/) - Shares pkgdb curated category or tags: cli, developer-tools, selenium, testing.
- [lcov](https://pkg.so/zh-hans/brew/lcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [bats-core](https://pkg.so/zh-hans/brew/bats-core/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [allure](https://pkg.so/zh-hans/brew/allure/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [kind](https://pkg.so/zh-hans/brew/kind/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [kcov](https://pkg.so/zh-hans/brew/kcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [expect](https://pkg.so/zh-hans/brew/expect/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [mockolo](https://pkg.so/zh-hans/brew/mockolo/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [selenium-server](https://pkg.so/zh-hans/brew/selenium-server/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, openjdk, selenium.
- [byteman](https://pkg.so/zh-hans/brew/byteman/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, openjdk, testing.
- [flank](https://pkg.so/zh-hans/brew/flank/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, openjdk, testing.

## Combined YAML source

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


## 来源

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