# Install snakeviz with Homebrew

Web-based viewer for Python profiler output. Version 2.2.2 via Homebrew; verified 2026-06-13.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install snakeviz
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:snakeviz
- **Package manager:** Homebrew
- **Version:** 2.2.2
- **Source summary:** Web-based viewer for Python profiler output
- **Homepage:** <https://jiffyclub.github.io/snakeviz/>
- **Last updated:** 2026-06-13T10:09:37Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- snakeviz (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.2.2
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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)


## Sources

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