# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.11
- **来源摘要:** Log analyzer and interactive viewer for the Apache Webserver
- **主页:** <https://goaccess.io/>
- **仓库:** <https://github.com/allinurl/goaccess>
- **最后更新:** 2026-07-20T15:28:48Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- goaccess (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


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