pkg.soopen package index

brew / 排名 3068

使用 Homebrew, apk, chocolatey, Nix, pacman 安装 consul-template

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install consul-template

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add consul-template

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

Nix已验证 · 92%
nix profile install nixpkgs#consul-template

nixpkgs package indexes · pkgs/by-name/co/consul-template/package.nix · 来源: api.github.com

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

Arch Linux sync databases · consul-template · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Generic template rendering and notifications with Consul

命令和别名

  • consul-template

历史

项目历史与用法

Consul Template is a HashiCorp daemon and CLI that renders files from Consul, Vault, and Nomad data, then optionally runs commands after changes. It became a standard bridge between service discovery/configuration data and traditional config-file driven software.

项目历史

HashiCorp released Consul Template 0.1.0 in October 2014. The README still states the core idea: query a Consul, Vault, or Nomad cluster and update any number of templates on the filesystem.

The early changelog shows rapid hardening after launch: 0.2.0 added file and key-prefix helpers, tree and ls functions, string helpers, and more examples; 0.5.0 added SIGHUP reload and service-listing support. Later releases added Vault, Nomad, Consul namespace/partition/peering features, imported services, and security fixes.

采用历史

Consul Template found adoption in infrastructure stacks that needed dynamic data in ordinary files. Its README recommends running it as a system service, explains why automatic reload-on-file-change is intentionally avoided, and points users toward examples, configuration docs, templating docs, Docker use, and community support.

Input package metadata lists Consul Template for Homebrew, apk, Chocolatey, Nix, and pacman, reflecting its cross-platform single-binary packaging model.

使用方式

Common usage is to run consul-template with template mappings such as source:destination:command, render configuration files from Consul KV or service catalog data, and restart or reload services such as nginx or haproxy when rendered output changes.

The README also documents once mode, reload via SIGHUP, environment variables shared with Consul, Vault, and Nomad tooling, and version-specific documentation through Git tags.

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

Consul Template matters because it packages dynamic infrastructure state into the oldest Unix deployment interface: files on disk plus a signal or command. That made it useful before every application learned service discovery APIs directly.

For package maintainers, it is a classic HashiCorp Go binary: upstream releases, version-specific docs, service-manager usage, Docker images, and a web of compatibility with Consul, Vault, Nomad, and downstream config consumers.

时间线

  • 2014: Version 0.1.0 is released as the initial Consul Template release.
  • 2014: Version 0.5.0 adds SIGHUP reload and services template support.
  • 2023: Version 0.35.0 adds alpha support for Consul namespaces, partitions, and peering.
  • 2025: Version 0.41.x adds Consul imported services support and file sandbox security work.
  • 2026: Version 0.42.0 continues security and dependency maintenance.

Related projects

  • Consul is the original data source named in the project name.
  • Vault and Nomad are first-class data sources in the README.
  • haproxy and nginx are common destination-service examples in the README's reload discussion.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
consul-template可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本0.42.1
管理器更新时间2026-07-27
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:consul-template
版本0.42.1
软件包管理器Homebrew
主页https://github.com/hashicorp/consul-template
仓库https://github.com/hashicorp/consul-template
最后更新2026-07-27T22:04:03+02:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Nix95%

consul-template

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

consul-template 0.42.1-r0

Generic template rendering and notifications with Consul

https://www.consul.io/

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

consul-template-openrc 0.42.1-r0

Generic template rendering and notifications with Consul (OpenRC init scripts)

https://www.consul.io/

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

consul-template 0.42.0-1

Template rendering, notifier, and supervisor for HashiCorp Consul and Vault data

https://github.com/hashicorp/consul-template

sudo pacman -S consul-template
  • License: MPL-2.0
  • Architecture: x86_64
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Consul Template
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: consul-template from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Chocolatey95%

consul-template

choco install consul-template
  • normalized package name match
  • 匹配方式:Consul Template
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: consul-template from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.804','zoxide'

来源线索

由仓库数据生成

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

使用的来源

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