# Install spark with Homebrew, apk, chocolatey, MacPorts, Nix, scoop

Sparklines for the shell. Version 1.0.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:spark
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install spark
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install spark
```

  Evidence: MacPorts ports tree: textproc/spark/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add spark
```

  Evidence: Alpine Linux edge package indexes: spark from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#spark
```

  Evidence: nixpkgs package indexes: spark from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- Chocolatey (92%):

```sh
choco install Spark
```

  Evidence: Chocolatey community package catalog: Spark from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','sonarscanner-msbuild-net46'

- Scoop (92%):

```sh
scoop install main/spark
```

  Evidence: Scoop official bucket manifest trees: bucket/spark.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:spark
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/spark>
- **Version:** 1.0.1
- **Source summary:** Sparklines for the shell
- **Homepage:** <https://zachholman.com/spark/>
- **Repository:** <https://github.com/holman/spark>
- **Upstream docs:** <https://github.com/holman/spark#readme>
- **License:** MIT
- **Source archive:** <https://github.com/holman/spark/archive/refs/tags/v1.0.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- spark (cli)
- spark (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0.1
- Local data: ok
- Upstream repository: https://github.com/holman/spark
- Upstream latest detected: v1.0.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

spark is a small shell command for rendering sparklines in the terminal. It belongs to the Unix tradition of tiny composable filters: feed it numbers from another command and get a compact text graph back.

### Project history

The public repository was created in 2011. The official README presents spark as a shell script that can be dropped somewhere on the user's PATH, with usage examples for direct numeric input, Git commit counts, earthquake feeds, source-code line lengths, and shell prompts.

### Adoption history

spark spread as a tiny developer-utility package because it is portable shell, easy to install, and visually memorable. The official README mentions Homebrew installation, while the supplied package data also lists APK, MacPorts, Nix, Scoop, and Chocolatey entries.

### How it is used

Users run `spark` with numbers separated by spaces, commas, or other common delimiters. Its intended style is pipeline-friendly: combine tools such as `git`, `cut`, `awk`, `curl`, and `sed`, then pass the numeric stream to `spark` for a quick terminal visualization.

### Why package nerds care

spark is beloved by package nerds as a one-file CLI that proves a package can be both tiny and useful. It is the sort of tool that turns up in dotfiles, shell demos, and package-manager indexes because it makes the command line feel more graphical without leaving text mode.

### Timeline

- 2011: Public GitHub repository created.
- 2010s: README documents Homebrew installation and a wiki for collected usage examples.
- 2020s: The tool remains packaged across several package-manager ecosystems in the supplied input data.

### Related projects

- spark relates to command-line text visualization tools, Unix filters, shell prompt utilities, and the broader sparklines idea popularized for compact data display.

### Sources

- <https://api.github.com/repos/holman/spark>
- <https://github.com/holman/spark>
- <https://raw.githubusercontent.com/holman/spark/master/README.md>
- input.source_facts.package-manager


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

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

## Other Package-Manager Records

- Nix - spark: normalized package name match | nixpkgs package indexes: spark from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - spark - 2.8.3-r1: normalized package name match | Alpine Linux edge package indexes: spark from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Cross-platform IM client optimized for businesses and organizations. | https://www.igniterealtime.org/projects/spark/
- MacPorts - spark: normalized package name match | MacPorts ports tree: textproc/spark/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - Spark: normalized package name match | Chocolatey community package catalog: Spark from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','sonarscanner-msbuild-net46'
- Scoop - main/spark: normalized package name match | Scoop official bucket manifest trees: bucket/spark.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [clip](https://www.automicvault.com/pkg/brew/clip/) - Shares av.db curated category or tags: cli, data, data-visualization, visualization.
- [distribution](https://www.automicvault.com/pkg/brew/distribution/) - Shares av.db curated category or tags: cli, data, terminal, visualization.
- [opensearch-dashboards](https://www.automicvault.com/pkg/brew/opensearch-dashboards/) - Shares av.db curated category or tags: cli, data, data-visualization, visualization.
- [pixd](https://www.automicvault.com/pkg/brew/pixd/) - Shares av.db curated category or tags: cli, data, terminal, visualization.
- [cubejs-cli](https://www.automicvault.com/pkg/brew/cubejs-cli/) - Shares av.db curated category or tags: cli, data.
- [mcp-server-chart](https://www.automicvault.com/pkg/brew/mcp-server-chart/) - Shares av.db curated category or tags: cli, data, visualization.
- [couchbase-shell](https://www.automicvault.com/pkg/brew/couchbase-shell/) - Shares av.db curated category or tags: cli, data, shell.
- [csvlens](https://www.automicvault.com/pkg/brew/csvlens/) - Shares av.db curated category or tags: cli, data, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/spark.yml](https://github.com/automic-vault/db/blob/main/combined/spark.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
- external package-manager database matches
- cross-ecosystem install command graph
