# 使用 Homebrew 安装 likec4

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

## 安装

```sh
sudo av install brew:likec4
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install likec4
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:likec4
- **软件包管理器:** Homebrew
- **版本:** 1.59.2
- **来源摘要:** Architecture modeling tool with live diagrams from code
- **主页:** <https://likec4.dev>
- **最后更新:** 2026-07-23T21:47:02Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- likec4 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.59.2
## 项目历史与用法

LikeC4 is an architecture-as-code toolkit for describing software architecture in a textual DSL and generating live, interactive diagrams from that model. Its name reflects its relationship to the C4 model while deliberately allowing custom notation, element types, and nesting beyond the strict C4 levels.

### 项目历史

The project appeared publicly with early 0.x tags in 2024 and grew as a TypeScript/Node-based toolchain around a domain-specific language, CLI, web viewer, editor support, and generated artifacts. The README describes LikeC4 as inspired by the C4 Model and Structurizr DSL, but aimed at more flexible notation and model depth.

### 采用历史

LikeC4's adoption has followed the broader move from hand-edited architecture diagrams to diagrams-as-code workflows. Its CLI supports preview, static-site builds, image and data exports, and generated React/Web Component artifacts, which made it easy to put architecture diagrams into repositories, documentation sites, CI, and IDE workflows.

### 使用方式

Users write architecture models in LikeC4 files, run the CLI to preview or build diagrams, and keep those models under version control with the rest of the system. The package is most relevant to teams that want architecture documentation to change through code review instead of through separate drawing tools.

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

For package nerds, LikeC4 is a modern example of a documentation tool distributed like a developer CLI: a fast-moving npm-centered project that also lands in Homebrew so architecture modeling can be installed next to compilers, formatters, and static-site tooling.

### 时间线

- 2024-04-20: The v0.6.0 tag was published in the public GitHub repository.
- 2025: Discussions and releases show LikeC4 expanding around multi-project workflows and Vite-style integration.
- 2026: The LikeC4 site described a toolkit for modeling, visualizing, validating, exporting, and embedding architecture from code.

### Related projects

- LikeC4 is closely related to Simon Brown's C4 model, Structurizr DSL, Mermaid, D2, PlantUML/C4-PlantUML, and documentation systems that embed generated diagrams. Its generated component workflow also connects it to React and web-component publishing.

### 来源

- <https://c4model.com/>
- <https://github.com/likec4/likec4>
- <https://github.com/likec4/likec4/releases/tag/v0.6.0>
- <https://likec4.dev/>
- <https://likec4.dev/tooling/cli/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: .likec4rc, .likec4.config.json, likec4.config.json, likec4.config.js, likec4.config.mjs, likec4.config.ts, likec4.config.mts

## Combined YAML source

View the package source record on GitHub. [combined/likec4.yml](https://github.com/mxcl/pkgdb/blob/main/combined/likec4.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
