# Install golines

Golang formatter that fixes long lines. Version 0.13.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:golines
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install golines
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install golines
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#golines
```

  Evidence: nixpkgs package indexes: pkgs/by-name/go/golines/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package Facts

- **Package key:** brew:golines
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/golines>
- **Version:** 0.13.0
- **Source summary:** Golang formatter that fixes long lines
- **Homepage:** <https://github.com/segmentio/golines>
- **Repository:** <https://github.com/segmentio/golines>
- **Upstream docs:** <https://github.com/segmentio/golines#readme>
- **License:** MIT
- **Source archive:** <https://github.com/segmentio/golines/archive/refs/tags/v0.13.0.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- golines (cli)
- golines (alias)

## Build Dependencies

- go

## Install Behavior

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

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.13.0
- Local data status: ok
- Upstream repository: https://github.com/segmentio/golines
- Upstream latest detected: v0.13.0 (current)
- info: No package-manager update timestamp was available.

## 安全说明

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:** golines
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - golines: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/golines/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - golines: normalized package name match | MacPorts ports tree: devel/golines/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gci](https://www.automicvault.com/zh-hans/pkg/brew/gci/) - Shares av.db curated category or tags: cli, developer-tools, formatter, go.
- [treefmt](https://www.automicvault.com/zh-hans/pkg/brew/treefmt/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools, formatter, formatting.
- [golangci-lint](https://www.automicvault.com/zh-hans/pkg/brew/golangci-lint/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [protoc-gen-go](https://www.automicvault.com/zh-hans/pkg/brew/protoc-gen-go/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [staticcheck](https://www.automicvault.com/zh-hans/pkg/brew/staticcheck/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [tex-fmt](https://www.automicvault.com/zh-hans/pkg/brew/tex-fmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatting.
- [go-bindata](https://www.automicvault.com/zh-hans/pkg/brew/go-bindata/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [gf](https://www.automicvault.com/zh-hans/pkg/brew/gf/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [keep-sorted](https://www.automicvault.com/zh-hans/pkg/brew/keep-sorted/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, formatter, formatting.
- [dockerfmt](https://www.automicvault.com/zh-hans/pkg/brew/dockerfmt/) - Local package facts share a topical domain. Shared terms: cli, code, code-formatting, developer, developer-tools.

## Sources

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