# 使用 Homebrew, Nix 安装 netlistsvg

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

## 安装

```sh
sudo av install brew:netlistsvg
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install netlistsvg
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#netlistsvg
```

  证据: nixpkgs package indexes: pkgs/by-name/ne/netlistsvg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:netlistsvg
- **软件包管理器:** Homebrew
- **版本:** 1.0.2
- **来源摘要:** Draws an SVG schematic from a yosys JSON netlist
- **主页:** <https://github.com/nturley/netlistsvg>
- **仓库:** <https://github.com/nturley/netlistsvg>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- netlistsvg (别名)
- netlistsvg-dumplayout (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

netlistsvg is a specialized electronic-design visualization tool: it draws SVG schematics from Yosys JSON netlists, using ELK/elkjs for layout. The README documents both a CLI and a browser bundle, and shows the normal flow as Verilog through Yosys `write_json` into an SVG diagram.

### 项目历史

The npm registry records `netlistsvg` 0.0.1 on 2019-03-29 and 1.0.2 on 2020-12-12. The GitHub repository listed 1.0.2 as the latest release and shows the project as a TypeScript/JavaScript tool by Neil Turley.

The README says Yosys can generate the input JSON with `write_json`, and suggests `prep -top my_top_module` or `prep -top my_top_module -flatten` depending on whether the user wants module boxes or lower-level logic. It also documents digital and analog skins and custom SVG component libraries.

### 采用历史

Adoption is niche but real inside open-source hardware and HDL workflows. The npm downloads API reported 8,188 downloads from 2026-05-30 through 2026-06-28; the Homebrew API generated on 2026-07-01 reported 306 installs over 365 days. The GitHub repository showed about 801 stars and 106 forks when checked.

Its package footprint also reflects the niche: Homebrew packages it with Node and tests against Yosys, while npm is the natural distribution path for users who want the CLI or web bundle.

### 使用方式

The canonical CLI use is `netlistsvg input_json_file -o output_svg_file --skin skin_file`, after generating the input with Yosys. Users use it for readable diagrams from HDL, debugging synthesis output, documentation images, or teaching examples.

Package nerds reach for it when Graphviz-style layout is too generic for circuits. The skin system lets a user map cell aliases to SVG component templates, making generated diagrams look like digital logic blocks or analog schematic symbols instead of arbitrary boxes.

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

netlistsvg matters because it sits at a useful package boundary: Yosys produces machine-readable netlists, and netlistsvg turns them into diagrams that humans can inspect. That is exactly the kind of small bridge tool that makes an EDA toolchain nicer without becoming the toolchain.

### 时间线

- 2019-03-29: npm registry records initial 0.0.1 publication.
- 2020-12-12: npm registry records 1.0.2 publication.
- 2026-05-30 to 2026-06-28: npm downloads API reported 8,188 downloads.
- 2026-07-01: Homebrew formula API reported 306 installs over 365 days.

### Related projects

- Yosys
- ELK / elkjs
- Graphviz
- Open-source HDL and FPGA workflows

### 来源

- <https://api.npmjs.org/downloads/point/last-month/netlistsvg>
- <https://formulae.brew.sh/api/formula/netlistsvg.json>
- <https://github.com/nturley/netlistsvg>
- <https://registry.npmjs.org/netlistsvg>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - netlistsvg: normalized package name match | nixpkgs package indexes: pkgs/by-name/ne/netlistsvg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
