# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 goaccess

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

## 安装

```sh
sudo av install brew:goaccess
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install goaccess
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install goaccess
```

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

### Linux

- apk (92%):

```sh
sudo apk add goaccess
```

  证据: Alpine Linux edge package indexes: goaccess from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install goaccess
```

  证据: Debian stable package indexes: goaccess from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install goaccess
```

  证据: Fedora Rawhide package metadata: goaccess from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#goaccess
```

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

- pacman (92%):

```sh
sudo pacman -S goaccess
```

  证据: Arch Linux sync databases: goaccess from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install goaccess
```

  证据: openSUSE Tumbleweed package metadata: goaccess from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:goaccess
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/goaccess>
- **版本:** 1.11
- **来源摘要:** Log analyzer and interactive viewer for the Apache Webserver
- **主页:** <https://goaccess.io/>
- **仓库:** <https://github.com/allinurl/goaccess>
- **上游文档:** <https://goaccess.io/>
- **许可证:** MIT
- **源码归档:** <https://tar.goaccess.io/goaccess-1.11.tar.gz>
- **最后更新:** 2026-07-20T15:28:48Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- goaccess (cli)
- goaccess (别名)

## 依赖

- gettext
- libmaxminddb

## macOS 提供的库

- ncurses

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.11
- 管理器更新时间: 2026-07-20
- 本地数据: OK
- 上游仓库: https://goaccess.io/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

GoAccess is an open-source real-time web log analyzer and interactive viewer for Unix-like systems, usable in a terminal or through browser-based HTML reports. Its history is rooted in the Unix habit of inspecting logs directly over SSH, then gradually adding richer dashboards, live updates, persistence, and modern web-log formats.

### 项目历史

GoAccess 0.1 was released on July 6, 2010. Early releases focused on parsing web server access logs in a terminal interface, adding real-time statistics, color schemes, UTF-8 support, stdin pipelines, IPv6, and custom format strings.

By the 0.7 and 0.8 series, GoAccess had gained JSON and CSV output, HTML reports, GeoIP-related reporting, persistence, large-file support, and more flexible configuration. GoAccess 1.0, released in June 2016, marked a broader dashboard era with real-time HTML output, D3 visualizations, multiple output formats, and more explicit command-line shortcuts.

Later releases expanded operational coverage: support for cloud and proxy log formats, Docker builds, MaxMind GeoIP2, native JSON parsing, Caddy and Traefik log handling, WebSocket improvements, persistence and restore workflows, multi-threaded parsing, accessibility work, and WebSocket authentication.

### 采用历史

GoAccess was adopted by administrators and developers who wanted fast local analytics without deploying a hosted analytics stack. Its README frames the tool for system administrators, DevOps engineers, and security professionals who need quick traffic, anomaly, bot, and performance visibility from logs.

Distribution packaging followed the tool's Unix shape: the project documents source builds, distro packages, and an official Debian/Ubuntu repository, while package managers such as Homebrew expose it as a single CLI command.

### 使用方式

Common use is direct log inspection, for example parsing Apache, Nginx, CloudFront, S3, Elastic Load Balancing, Caddy, Traefik, or W3C-style logs and emitting a terminal dashboard, static report, live HTML report, JSON, or CSV. GoAccess can also follow logs in real time and process multiple files or pipes.

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

GoAccess is package-nerd friendly because it preserves the simple CLI shape of classic Unix log tools while offering enough output formats to plug into modern dashboards and automation. It is written in C, has a small dependency story centered on ncurses, and keeps most behavior configurable through command-line flags or a simple config file.

Its release history is a useful map of web operations trends: from Apache-style logs and terminal dashboards, through HTML reports and GeoIP, to cloud/CDN log formats, Docker packaging, JSON logs, bot detection, multi-threaded parsing, and authentication around live dashboards.

### 时间线

- 2010: GoAccess 0.1 was released.
- 2012: GoAccess 0.5 added IPv6 and custom format string parsing.
- 2013: GoAccess 0.7 added JSON and CSV output plus an HTML5 report.
- 2014: GoAccess 0.8 added persistence and large-file support.
- 2016: GoAccess 1.0 added real-time HTML dashboard functionality and multiple output formats.
- 2021: GoAccess 1.4.4 added native JSON log parsing and Caddy format support.
- 2024: GoAccess 1.9 added multi-threaded log processing.
- 2025: GoAccess 1.9.4 added WebSocket authentication and HTML report accessibility improvements.

### Related projects

- GoAccess sits near classic log-processing tools such as awk, grep, sed, tail, and web server access-log utilities, but adds an interactive TUI and browser dashboard. Its supported formats connect it to Apache, Nginx, Caddy, Traefik, Amazon S3, CloudFront, Elastic Load Balancing, Squid, and W3C/IIS logs.

### 来源

- <https://github.com/allinurl/goaccess>
- <https://goaccess.io/>
- <https://goaccess.io/man>
- <https://goaccess.io/release-notes>
- <https://raw.githubusercontent.com/allinurl/goaccess/master/ChangeLog>
- <https://raw.githubusercontent.com/allinurl/goaccess/master/README.md>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## 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: %sysconfdir%/goaccess.conf, ~/.goaccessrc
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** goaccess
- **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

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

- Debian apt - goaccess - 1:1.9.3-1: normalized package name match | Debian stable package indexes: goaccess from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | log analyzer and interactive viewer for the Apache Webserver | https://goaccess.io/
- Nix - goaccess: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/goaccess/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - goaccess - 1:1.8.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: goaccess from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | log analyzer and interactive viewer for the Apache Webserver | https://goaccess.io/
- apk - goaccess - 1.10.2-r0: normalized package name match | Alpine Linux edge package indexes: goaccess from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Real-time web log analyzer and interactive viewer | https://goaccess.io/
- apk - goaccess-doc - 1.10.2-r0: normalized package name match | Alpine Linux edge package indexes: goaccess-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Real-time web log analyzer and interactive viewer (documentation) | https://goaccess.io/
- apk - goaccess-lang - 1.10.2-r0: normalized package name match | Alpine Linux edge package indexes: goaccess-lang from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Languages for package goaccess | https://goaccess.io/
- dnf - goaccess - 1.11-1.fc45: normalized package name match | Fedora Rawhide package metadata: goaccess from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Real-time web log analyzer and interactive viewer | https://goaccess.io/
- pacman - goaccess - 1.11-1: normalized package name match | Arch Linux sync databases: goaccess from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An open source real-time web log analyzer and interactive viewer | https://goaccess.io
- zypper - goaccess - 1.11-1.2: normalized package name match | openSUSE Tumbleweed package metadata: goaccess from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Apache Web Log Analyzer | https://goaccess.io/
- MacPorts - goaccess: normalized package name match | MacPorts ports tree: www/goaccess/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Runtime dependency declared by Homebrew.
- [libmaxminddb](https://pkg.so/zh-hans/brew/libmaxminddb/) - Runtime dependency declared by Homebrew.
- [fzf](https://pkg.so/zh-hans/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [neovim](https://pkg.so/zh-hans/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [starship](https://pkg.so/zh-hans/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [apr](https://pkg.so/zh-hans/brew/apr/) - Shares pkgdb curated category or tags: apache, cli, developer-tools.
- [apr-util](https://pkg.so/zh-hans/brew/apr-util/) - Shares pkgdb curated category or tags: apache, cli, developer-tools.
- [television](https://pkg.so/zh-hans/brew/television/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [subversion](https://pkg.so/zh-hans/brew/subversion/) - Shares pkgdb curated category or tags: apache, cli, developer-tools.
- [oh-my-posh](https://pkg.so/zh-hans/brew/oh-my-posh/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [logdy](https://pkg.so/zh-hans/brew/logdy/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, log, real.
- [analog](https://pkg.so/zh-hans/brew/analog/) - Local package facts share a topical domain. Shared terms: analysis, analytics, analyzer, cli, developer.
- [pinfo](https://pkg.so/zh-hans/brew/pinfo/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, gettext, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/goaccess.yml](https://github.com/mxcl/pkgdb/blob/main/combined/goaccess.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
