pkg.soopen package index

brew / 排名 7336

使用 Homebrew, Nix, winget 安装 topiary

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install topiary

local Homebrew formula metadata

Linux

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

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

Windows

Windows Package Manager已验证 · 92%
winget install --id Tweag.Topiary -e

Windows Package Manager source index · Tweag.Topiary · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Uniform formatter for simple languages, as part of the Tree-sitter ecosystem

命令和别名

  • topiary

历史

项目历史与用法

Topiary is a Rust code-formatting tool from Tweag that uses Tree-sitter grammars and query files to build formatters for multiple languages. Its project identity is a 'uniform formatter for simple languages' in the Tree-sitter ecosystem.

项目历史

Topiary's changelog records an early prototype release in June 2022 and v0.1.0 in March 2023. Tweag announced the project publicly in March 2023 as a universal formatter engine aimed at both formatter authors and end users: authors write declarative formatting queries rather than a parser and engine, while users get consistent style from a single tool.

The Topiary Book explains the core architecture: Topiary relies on Tree-sitter parse trees and Tree-sitter query captures to decide where to add spacing, line breaks, and formatting actions. This makes the project part of the broader editor and parser ecosystem rather than a standalone formatter for only one language.

Through 2024 and 2025, releases added packaging, a CLI crate, dynamically fetched grammars, coverage and query tooling, OpenSCAD, WIT, SDML, Nickel and OCaml work, prefetching, man pages, and Tree-sitter upgrades. The changelog shows v0.7.3 at the end of 2025, while crates.io lists topiary-cli 0.7.3 as the current published CLI package in early 2026.

采用历史

Topiary is still a specialist formatter rather than a universal default, but it has package-manager reach in the input metadata through Homebrew, Nix, and Winget. Its audience overlaps with Nix/Tweag/Tree-sitter users, formatter authors, language-tooling maintainers, and developers working on languages that lack a mature dedicated formatter.

使用方式

Topiary is used either as a CLI formatter or as a framework for defining formatting behavior. Formatter authors provide Tree-sitter grammars and query files; users can run the CLI to format supported languages, prefetch grammars, check formatting in CI, and inspect coverage of formatting queries.

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

Topiary matters to package nerds because it turns formatting support into packageable language data: grammars, query files, and CLI releases can be distributed separately from language compilers. That fits ecosystems such as Nix, Homebrew, Winget, Tree-sitter, and editor tooling, where small language tools are composed from reusable packages.

时间线

  • 2022: v0.0.1 prototype recorded in the changelog.
  • 2023: v0.1.0 released and Tweag announced Topiary.
  • 2024: v0.5.1 era adds dynamic grammar handling and topiary-cli packaging appears on crates.io.
  • 2025: v0.6.x and v0.7.x add language support, Topiary Book documentation, man pages, and Tree-sitter upgrades.
  • 2026: crates.io lists topiary-cli 0.7.3 as the current published CLI release.

Related projects

  • Tree-sitter, Nickel, OCaml, OpenSCAD, WIT, SDML, Nix, Homebrew, Winget, formatter tooling.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

安装元数据

软件包元数据

软件包键brew:topiary
版本0.7.3
软件包管理器Homebrew
主页https://topiary.tweag.io/
仓库https://github.com/topiary/topiary
最后更新2026-07-04T16:53:46+09:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Nix95%

topiary

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

Tweag.Topiary

winget install --id Tweag.Topiary -e
  • normalized package name match
  • 匹配方式:Topiary
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Tweag.Topiary from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 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