# 使用 Homebrew 安装 snakeviz

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install snakeviz
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:snakeviz
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/snakeviz>
- **版本:** 2.2.2
- **来源摘要:** Web-based viewer for Python profiler output
- **主页:** <https://jiffyclub.github.io/snakeviz/>
- **上游文档:** <https://jiffyclub.github.io/snakeviz/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/04/06/82f56563b16d33c2586ac2615a3034a83a4ff1969b84c8d79339e5d07d73/snakeviz-2.2.2.tar.gz>
- **最后更新:** 2026-06-13T10:09:37Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- snakeviz (cli)
- snakeviz (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

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

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

## 源数据库详情

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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [qcachegrind](https://pkg.so/zh-hans/brew/qcachegrind/) - Shares pkgdb curated category or tags: cli, developer-tools, profiling, visualization.
- [py-spy](https://pkg.so/zh-hans/brew/py-spy/) - Shares pkgdb curated category or tags: cli, developer-tools, profiling, python.
- [memray](https://pkg.so/zh-hans/brew/memray/) - Shares pkgdb curated category or tags: cli, developer-tools, profiling, python.
- [parca](https://pkg.so/zh-hans/brew/parca/) - Shares pkgdb curated category or tags: cli, developer-tools, profiling.
- [austin](https://pkg.so/zh-hans/brew/austin/) - Shares pkgdb curated category or tags: cli, developer-tools, profiling, python.
- [counts](https://pkg.so/zh-hans/brew/counts/) - Shares pkgdb curated category or tags: cli, developer-tools, profiling.
- [bloaty](https://pkg.so/zh-hans/brew/bloaty/) - Shares pkgdb curated category or tags: cli, developer-tools, profiling.
- [gprof2dot](https://pkg.so/zh-hans/brew/gprof2dot/) - Shares pkgdb curated category or tags: cli, developer-tools, profiling, visualization.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
