# 使用 Homebrew 安装 snakeviz

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

## 安装

```sh
sudo av install brew:snakeviz
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install snakeviz
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:snakeviz
- **软件包管理器:** Homebrew
- **版本:** 2.2.2
- **来源摘要:** Web-based viewer for Python profiler output
- **主页:** <https://jiffyclub.github.io/snakeviz/>
- **最后更新:** 2026-06-13T10:09:37Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- snakeviz (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

SnakeViz is a browser-based graphical viewer for Python cProfile output and an alternative to inspecting profiles with pstats.

### 项目历史

The official repository was created in June 2012. The documentation says SnakeViz was originally inspired by RunSnakeRun and now supports Python 3.9+, with older SnakeViz versions likely to work on Python 2.7.

### 采用历史

SnakeViz is available from PyPI according to its official docs and from Homebrew in the supplied metadata. Its GitHub repository has accumulated thousands of stars, reflecting long-term use among Python developers who want visual profile inspection.

### 使用方式

Users generate a cProfile output file, then run snakeviz program.prof to open an interactive browser view. It can also profile IPython code through line and cell magics.

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

SnakeViz is a classic small Python developer tool: a single CLI opens local web UI visualizations for standard-library profile data, making it easy for package maintainers to inspect performance without adopting a heavier profiling stack.

### 时间线

- 2012: Official GitHub repository created.
- 2026: Official docs describe Python 3.9+ support and older Python 2.7 compatibility only for older releases.

### Related projects

- Python cProfile
- Python pstats
- RunSnakeRun
- IPython

### 来源

- <https://api.github.com/repos/jiffyclub/snakeviz>
- <https://github.com/jiffyclub/snakeviz>
- <https://jiffyclub.github.io/snakeviz/>
- input source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

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