Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop 安装 traefik

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install traefik

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install traefik

MacPorts ports tree · net/traefik/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add traefik

Alpine Linux edge package indexes · traefik · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#traefik

nixpkgs package indexes · pkgs/by-name/tr/traefik/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S traefik

Arch Linux sync databases · traefik · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install traefik

openSUSE Tumbleweed package metadata · traefik · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/traefik

Scoop official bucket manifest trees · bucket/traefik.json · 来源: api.github.com

概览

软件包摘要

Modern reverse proxy

命令和别名

  • traefik

历史

项目历史与用法

Traefik is a Go-based reverse proxy and load balancer created for dynamic infrastructure. Its package history tracks the rise of Docker, orchestrators, service discovery, Kubernetes, and cloud-native ingress patterns.

项目历史

The official README describes Traefik as a modern HTTP reverse proxy and load balancer that integrates with infrastructure components such as Docker, Swarm, Kubernetes, Consul, Etcd, Rancher, and Amazon ECS. Its central idea is that pointing Traefik at an orchestrator or service registry should be the main configuration step.

The GitHub repository was created on September 13, 2015. Official release metadata shows v1.0.0 published on July 5, 2016, v2.0.0 on September 16, 2019, and v3.0.0 on April 29, 2024. The README documents semantic-versioned releases and migration guidance for major upgrades.

Traefik's design split static install configuration from dynamic routing configuration. Official configuration docs explain that routing configuration can come from providers and can be hot-reloaded without request interruption, a feature that matched containerized deployments where services appear, disappear, and scale frequently.

采用历史

Traefik spread with Docker and Kubernetes because it replaced hand-maintained reverse-proxy configuration with provider-driven routing. Its README lists Docker, Swarm, Kubernetes, ECS, and File providers, and highlights automatic dynamic configuration, Let's Encrypt integration, metrics, access logs, HTTP/2, gRPC, WebSocket support, and a web UI.

For package managers, Traefik became a standard single-binary infrastructure tool. The input facts show packages across Homebrew, Alpine, MacPorts, Nix, Arch, Scoop, and openSUSE, reflecting use by developers who want to run or test cloud-native routing locally without installing a full platform stack.

使用方式

Users run traefik as a daemon or container, point it at a provider such as Docker or Kubernetes, and let it derive routes from service metadata. The official README examples show running a downloaded binary with a sample TOML config or running the official Docker image with a mounted config file.

The official configuration docs say startup configuration can be supplied by a configuration file, command-line arguments, or environment variables. Configuration files named traefik.yml, traefik.yaml, or traefik.toml are searched in /etc/traefik, $XDG_CONFIG_HOME, $HOME/.config, and the working directory unless configFile overrides the path.

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

Traefik is package-nerd relevant because it is a large, real-world Go network service that still behaves like a portable command-line binary. Formula maintainers care about config-file defaults, service wrappers, shell completion, reproducible builds, and keeping major-version migrations visible to local developers.

It is also a canonical example of a package whose usefulness is not only the executable, but the integration surface: Docker labels, Kubernetes CRDs, ACME storage, metrics backends, and provider configuration all make the packaging boundary matter.

时间线

  • 2015: GitHub repository created.
  • 2016: v1.0.0 released.
  • 2019: v2.0.0 released with a major configuration generation change noted by the official docs.
  • 2024: v3.0.0 released.
  • 2026: v3.7.0 appears in official GitHub release metadata.

Related projects

  • Docker, Swarm, Kubernetes, Consul, Etcd, Rancher, Amazon ECS, and File providers are named in the official README as integration targets.
  • Let's Encrypt, Prometheus, Datadog, StatsD, and InfluxDB are named in the official README as common operational integrations.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/traefik/traefik.yml/etc/traefik/traefik.yaml/etc/traefik/traefik.toml$XDG_CONFIG_HOME/traefik.yml$XDG_CONFIG_HOME/traefik.yaml$XDG_CONFIG_HOME/traefik.toml~/.config/traefik.yml~/.config/traefik.yaml~/.config/traefik.toml./traefik.yml./traefik.yaml./traefik.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
traefikcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本3.7.9
管理器更新时间2026-07-24
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/traefik/traefik

安装元数据

软件包元数据

软件包键brew:traefik
版本3.7.9
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/traefik
主页https://traefik.io/
仓库https://github.com/traefik/traefik
上游文档https://doc.traefik.io/traefik
许可证MIT
源码归档https://github.com/traefik/traefik/releases/download/v3.7.9/traefik-v3.7.9.src.tar.gz
最后更新2026-07-24T15:53:21Z
Pulseupdated
构建依赖corepack, go, node
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametraefik
Aliases
  • traefik@3
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

traefik

nix profile install nixpkgs#traefik
  • normalized package name match
  • 匹配方式:Traefik
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tr/traefik/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

traefik 3.7.1-r0

The Cloud Native Edge Router

https://traefik.io/

sudo apk add traefik
  • License: MIT
  • Architecture: x86_64
  • Source Package: traefik
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Traefik
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: traefik from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

traefik-doc 3.7.1-r0

The Cloud Native Edge Router (documentation)

https://traefik.io/

sudo apk add traefik-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: traefik
  • normalized package name match
  • 匹配方式:Traefik
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: traefik-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

traefik-openrc 3.7.1-r0

The Cloud Native Edge Router (OpenRC init scripts)

https://traefik.io/

sudo apk add traefik-openrc
  • License: MIT
  • Architecture: x86_64
  • Source Package: traefik
  • normalized package name match
  • 匹配方式:Traefik
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: traefik-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

traefik 3.7.1-1

Modern reverse proxy written in Go

https://github.com/traefik/traefik

sudo pacman -S traefik
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Traefik
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: traefik from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

traefik 3.6.17-1.1

The Cloud Native Application Proxy

https://traefik.io/

sudo zypper install traefik
  • License: MIT
  • Category: Productivity/Networking/Web/Proxy
  • Architecture: x86_64
  • Source Package: traefik
  • 4 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Traefik
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: traefik from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

traefik2 2.11.46-1.1

The Cloud Native Application Proxy

https://traefik.io/

sudo zypper install traefik2
  • License: MIT
  • Category: Productivity/Networking/Web/Proxy
  • Architecture: x86_64
  • Source Package: traefik2
  • 3 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Traefik
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: traefik2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

traefik

sudo port install traefik
  • normalized package name match
  • 匹配方式:Traefik
MacPorts ports tree · api.github.com · MacPorts ports tree: net/traefik/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/traefik

scoop install main/traefik
  • normalized package name match
  • 匹配方式:Traefik
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/traefik.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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