# Install go-size-analyzer with Homebrew, scoop, apk

Analyzing the dependencies in compiled Golang binaries. Version 1.13.0 via Homebrew; verified 2026-07-27. Also installable with scoop: scoop install main/go-size-analyzer.

## Install

```sh
sudo av install brew:go-size-analyzer
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install go-size-analyzer
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gsa
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/go-size-analyzer
```

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

## Package facts

- **Package key:** brew:go-size-analyzer
- **Package manager:** Homebrew
- **Version:** 1.13.0
- **Source summary:** Analyzing the dependencies in compiled Golang binaries
- **Homepage:** <https://gsa.zxilly.dev/>
- **Repository:** <https://github.com/Zxilly/go-size-analyzer>
- **Last updated:** 2026-07-27T16:47:24+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- gsa (alias)

## Install behavior

- Bottle: not available

## Freshness

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

go-size-analyzer is a Go binary-size inspection tool distributed as the gsa command.

### Project history

The GitHub repository was created in 2023 by Zxilly. Its README presents the tool as an analyzer for compiled Go binaries, with support for ELF, Mach-O, PE, and experimental WebAssembly binaries, plus package-level and section-level size breakdowns.

### Adoption history

The project fits a later phase of Go tooling culture in which teams inspect the cost of dependencies, runtime sections, and compiler changes after producing static command-line or server binaries. Its availability through Homebrew, Scoop, and APK packaging makes it usable outside a source checkout.

### How it is used

Practitioners run gsa against a compiled Go binary, choose text, JSON, HTML, SVG, web, or terminal UI output, and compare two binaries in diff mode to see which packages or sections changed size.

### Why package nerds care

For package maintainers, go-size-analyzer is useful when validating that a release, dependency bump, or Go toolchain change did not add unexpected binary weight.

### Timeline

- 2023: GitHub repository created for go-size-analyzer.

### Related projects

- The tool is adjacent to Go linker and build tooling because it inspects the compiled artifact after the Go command has produced it.

### Sources

- <https://api.github.com/repos/Zxilly/go-size-analyzer>
- <https://formulae.brew.sh/formula/go-size-analyzer>
- <https://github.com/Zxilly/go-size-analyzer>
- <https://gsa.zxilly.dev/>


## Security Notes

No matching local secret-handling manifest was found for go-size-analyzer. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Other Package-Manager Records

- Scoop - main/go-size-analyzer: normalized package name match | Scoop official bucket manifest trees: bucket/go-size-analyzer.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- apk - gsa - 27.5.0-r0: installed executable or alias match | Alpine Linux edge package indexes: gsa from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Greenbone Security Assistant - The web frontend for the Greenbone Vulnerability Management (GVM) framework | https://github.com/greenbone/gsa


## Combined YAML source

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


## Sources

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