# 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
- **Package manager page:** <https://formulae.brew.sh/formula/snakeviz>
- **Version:** 2.2.2
- **Source summary:** Web-based viewer for Python profiler output
- **Homepage:** <https://jiffyclub.github.io/snakeviz/>
- **Repository:** <https://github.com/jiffyclub/snakeviz>
- **Upstream docs:** <https://jiffyclub.github.io/snakeviz>
- **License:** BSD-3-Clause
- **Source archive:** <https://files.pythonhosted.org/packages/04/06/82f56563b16d33c2586ac2615a3034a83a4ff1969b84c8d79339e5d07d73/snakeviz-2.2.2.tar.gz>
- **Last updated:** 2026-06-13T10:09:37Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- snakeviz (cli)
- snakeviz (alias)

## Dependencies

- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.2.2
- Package-manager updated: 2026-06-13
- Local data: ok
- Upstream repository: https://jiffyclub.github.io/snakeviz/
- info: Release/tag comparison is only available for GitHub repositories.
## 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

## Source Database Details

- **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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [flamegraph](https://www.automicvault.com/pkg/brew/flamegraph/) - Shares av.db curated category or tags: cli, developer-tools, profiling, visualization.
- [gprof2dot](https://www.automicvault.com/pkg/brew/gprof2dot/) - Shares av.db curated category or tags: cli, developer-tools, profiling, visualization.
- [qcachegrind](https://www.automicvault.com/pkg/brew/qcachegrind/) - Shares av.db curated category or tags: cli, developer-tools, profiling, visualization.
- [flamebearer](https://www.automicvault.com/pkg/brew/flamebearer/) - Shares av.db curated category or tags: cli, developer-tools, profiling, visualization.
- [git-big-picture](https://www.automicvault.com/pkg/brew/git-big-picture/) - Shares av.db curated category or tags: cli, developer-tools, python, visualization.
- [memray](https://www.automicvault.com/pkg/brew/memray/) - Shares av.db curated category or tags: cli, developer-tools, profiling, python.
- [py-spy](https://www.automicvault.com/pkg/brew/py-spy/) - Shares av.db curated category or tags: cli, developer-tools, profiling, python.
- [cargo-bloat](https://www.automicvault.com/pkg/brew/cargo-bloat/) - Shares av.db curated category or tags: cli, developer-tools, profiling.

## Combined YAML source

View the package source record on GitHub. [combined/snakeviz.yml](https://github.com/automic-vault/db/blob/main/combined/snakeviz.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
