# 使用 Homebrew 安装 style-dictionary

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

## 安装

```sh
sudo av install brew:style-dictionary
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install style-dictionary
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:style-dictionary
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/style-dictionary>
- **版本:** 5.5.0
- **来源摘要:** Build system for creating cross-platform styles
- **主页:** <https://styledictionary.com>
- **仓库:** <https://github.com/style-dictionary/style-dictionary>
- **上游文档:** <https://styledictionary.com/>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/style-dictionary/-/style-dictionary-5.5.0.tgz>
- **最后更新:** 2026-06-22T14:22:46Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- style-dictionary (cli)
- style-dictionary (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 5.5.0
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://styledictionary.com
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Style Dictionary is a design-token build system and CLI that transforms a shared token dictionary into platform-specific outputs such as CSS, iOS, Android, JavaScript, HTML, and documentation.

### 项目历史

AWS's open source blog says Style Dictionary began inside Amazon and was released publicly on GitHub in the summer of 2017 after an internal presentation led to requests to make the tool available outside the company.

The official project documentation now describes Style Dictionary as a build system for exporting design tokens to any platform and notes forward compatibility with the Design Tokens Community Group specification.

### 采用历史

The project is distributed as an npm CLI and module, while the input package facts show it is also packaged by Homebrew. That puts it in both JavaScript dependency workflows and system package-manager workflows.

Style Dictionary became important as design systems moved token data out of visual design tools and into source-controlled build pipelines that can generate platform-native assets.

### 使用方式

A typical project keeps token files and a Style Dictionary configuration in the package root, then runs style-dictionary build or calls the Node API to transform and write platform outputs.

The official configuration docs say the CLI looks for config.json or config.js by default and supports JSON, JSONC, JSON5, and JavaScript configuration files, with custom transforms, formats, filters, and actions available for advanced builds.

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

Style Dictionary matters to package nerds because it turns design-system data into a build artifact problem: token files in, platform packages and generated source out.

It is also a useful case study in CLI packaging across ecosystems. The canonical distribution is npm, but Homebrew packaging makes the command easy to install as a general developer tool.

### 时间线

- 2017: AWS says Style Dictionary was released on GitHub in the summer of 2017.
- 2020s: The official docs describe forward compatibility with the Design Tokens Community Group format.
- 2026: Input package facts list Style Dictionary as a Homebrew formula.

### Related projects

- The Design Tokens Community Group specification is a related standard the docs mention.
- npm is the primary JavaScript packaging channel documented by the README.

### 来源

- <https://aws.amazon.com/blogs/opensource/style-dictionary-trust-design-consistency/>
- <https://github.com/style-dictionary/style-dictionary#readme>
- <https://styledictionary.com/>
- <https://styledictionary.com/info/tokens/>
- <https://styledictionary.com/reference/config/>
- input.source_facts.package-manager


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal


## 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: config.json, config.js
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** style-dictionary
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Shares av.db curated category or tags: build-system, build-tools, cli, cross-platform, developer-tools.
- [bmake](https://www.automicvault.com/zh-hans/pkg/brew/bmake/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [fpm](https://www.automicvault.com/zh-hans/pkg/brew/fpm/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [imake](https://www.automicvault.com/zh-hans/pkg/brew/imake/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [melange](https://www.automicvault.com/zh-hans/pkg/brew/melange/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [nx](https://www.automicvault.com/zh-hans/pkg/brew/nx/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [ocamlbuild](https://www.automicvault.com/zh-hans/pkg/brew/ocamlbuild/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [pyqt-builder](https://www.automicvault.com/zh-hans/pkg/brew/pyqt-builder/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [style-dictionary](https://www.automicvault.com/zh-hans/pkg/npm/style-dictionary/) - Same normalized package name appears in another local ecosystem. Shared terms: build, creating, cross, cross-platform, design.
- [style-dictionary](https://www.automicvault.com/zh-hans/pkg/npm/style-dictionary/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/style-dictionary.yml](https://github.com/automic-vault/db/blob/main/combined/style-dictionary.yml)


## 来源

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