# 使用 Homebrew, winget 安装 stencil

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

## 安装

```sh
sudo av install brew:stencil
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install stencil
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id rgst-io.stencil -e
```

  证据: Windows Package Manager source index: rgst-io.stencil from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:stencil
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/stencil>
- **版本:** 2.18.2
- **来源摘要:** Modern living-template engine for evolving repositories
- **主页:** <https://stencil.rgst.io>
- **仓库:** <https://github.com/rgst-io/stencil>
- **上游文档:** <https://stencil.rgst.io>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/rgst-io/stencil/archive/refs/tags/v2.18.2.tar.gz>
- **最后更新:** 2026-07-26T04:03:46+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- stencil (cli)
- stencil (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.18.2
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/rgst-io/stencil
- 检测到的最新版本: v2.18.2 (当前)
## 项目历史与用法

Stencil is a living-template engine for managing repositories after their initial creation. It reapplies versioned template modules while preserving user-owned extension blocks, allowing fleets of repositories to evolve together.

### 项目历史

Developers at Outreach created the precursor in 2020 under the name `bootstrap` while decomposing a monolith into many microservices. Basic one-time templates proved insufficient once generated projects began to diverge, leading the team to introduce explicit blocks for user-maintained code.

The developers then rebuilt the idea as Stencil, designed for open-source release and a generic module system from the start. The project is now maintained independently by some of its original developers and is no longer affiliated with Outreach.

### 采用历史

Stencil grew out of tooling for coordinating many internal service repositories, then moved into an independent open-source project. Its official installation guide offers release binaries and package-manager routes, while the supplied metadata records Homebrew and WinGet packages.

### 使用方式

A stenciled repository declares its name, arguments, modules, and replacements in `stencil.yaml`. Template owners publish reusable modules, and consumers rerun Stencil to adopt updated boilerplate while retaining application-specific code inside declared blocks.

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

Stencil treats repository boilerplate as a continuously upgradable dependency rather than a one-time scaffold. Package maintainers and platform teams care because versioned modules, rollback, and repeatable regeneration offer a practical way to propagate CI, observability, and policy changes across large repository fleets.

### 时间线

- 2020: Outreach developers created the `bootstrap` precursor.
- 2020s: The team rebuilt the concept as the open-source Stencil project with a generic module system.
- 2023: The official GitHub repository was created.
- 2026: The GitHub project metadata marked development as migrated to rgst.io infrastructure.

### Related projects

- The Outreach `bootstrap` tool was Stencil's direct precursor. Stencil modules provide the independently versioned template units consumed by projects, while native extensions allow modules to execute code beyond ordinary text rendering.

### 来源

- <https://github.com/rgst-io/stencil>
- <https://stencil.rgst.io/about/blocks.html>
- <https://stencil.rgst.io/about/history.html>
- <https://stencil.rgst.io/about/problem-statement.html>
- <https://stencil.rgst.io/reference/stencil.yaml.html>
- source_facts.package-manager


## 安全说明

没有找到 stencil 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: <project-root>/stencil.yaml
## 源数据库详情

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

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

- winget - rgst-io.stencil: normalized package name match | Windows Package Manager source index: rgst-io.stencil from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [mani](https://pkg.so/zh-hans/brew/mani/) - Shares pkgdb curated category or tags: cli, developer-tools, repository-management.
- [sourcery](https://pkg.so/zh-hans/brew/sourcery/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, templates.
- [autogen](https://pkg.so/zh-hans/brew/autogen/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, templates.
- [go-blueprint](https://pkg.so/zh-hans/brew/go-blueprint/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools, templates.
- [fbthrift](https://pkg.so/zh-hans/brew/fbthrift/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools.
- [swig](https://pkg.so/zh-hans/brew/swig/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools.
- [swiftgen](https://pkg.so/zh-hans/brew/swiftgen/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools.
- [buf](https://pkg.so/zh-hans/brew/buf/) - Shares pkgdb curated category or tags: cli, code-generation, developer-tools.
- [cargo-generate](https://pkg.so/zh-hans/brew/cargo-generate/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.

## Combined YAML source

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