# 使用 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
- **版本:** 2.18.2
- **来源摘要:** Modern living-template engine for evolving repositories
- **主页:** <https://stencil.rgst.io>
- **仓库:** <https://github.com/rgst-io/stencil>
- **最后更新:** 2026-07-26T04:03:46+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- stencil (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 其他软件包管理器记录

- 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


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