# Install gf with Homebrew, MacPorts, Nix

App development framework of Golang. Version 2.10.2 via Homebrew; verified 2026-05-14.

## Install

```sh
sudo av install brew:gf
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gf
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gf
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gf
```

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

## Package facts

- **Package key:** brew:gf
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gf>
- **Version:** 2.10.2
- **Source summary:** App development framework of Golang
- **Homepage:** <https://goframe.org>
- **Repository:** <https://github.com/gogf/gf>
- **Upstream docs:** <https://goframe.org/en/docs>
- **License:** MIT
- **Source archive:** <https://github.com/gogf/gf/archive/refs/tags/v2.10.2.tar.gz>
- **Last updated:** 2026-05-14T09:21:43Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- gf (cli)
- gf (alias)

## Build dependencies

- go

## 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-09
- Package-manager version: 2.10.2
- Package-manager updated: 2026-05-14
- Local data: ok
- Upstream repository: https://github.com/gogf/gf
- Upstream latest detected: v2.10.2 (current)
## Project history and usage

GoFrame is a Go application framework and command-line toolchain aimed at full-stack service development. In package-manager terms, the `gf` executable matters because it installs the framework's project scaffolding, code generation, build, and upgrade commands alongside the Go module.

### Project history

GoFrame's release notes trace the public line back to v0.1 in April 2018, with early modules covering file monitoring, configuration reloads, template refreshes, conversion helpers, pagination, logging, Redis access, HTTP, and database functionality. The v1.x line followed later in 2018, and v2.0 appeared in March 2022 as a major framework generation.

### Adoption history

The project evolved into a broad Go framework with modules for web services, ORM, configuration, validation, logging, resource management, service work, and microservice development. Its GitHub repository shows a large contributor and user footprint, and the docs describe use in enterprise-style production projects such as microservices, IoT, blockchain, e-commerce, and banking systems.

### How it is used

Practitioners use `gf` to create and maintain GoFrame applications, generate controllers and database/protobuf entities, build resource-aware binaries, and run framework upgrades. The recommended version-management path is Go modules, with the CLI available for full framework upgrades from a project root.

### Why package nerds care

GoFrame is interesting to package maintainers because the formula name `gf` exposes a CLI, while the main project is also a Go library imported as `github.com/gogf/gf/v2`. That dual identity makes it both a developer tool and an application dependency in Go service stacks.

### Timeline

- 2018: v0.1 introduced the early public framework module set.
- 2018: v1.0 and v1.x releases expanded web, ORM, routing, and infrastructure features.
- 2022: v2.0 marked a major framework generation.
- 2025: The release documentation described Go modules as the preferred version-management path and `gf up -a` as a CLI upgrade path.

### Related projects

- The repository links the official site, English documentation, API docs on pkg.go.dev, documentation source, and related demo projects in the GoFrame organization.

### Sources

- <https://github.com/gogf/gf>
- <https://goframe.org/en/docs/cli/gen-ctrl>
- <https://goframe.org/en/docs/micro-service>
- <https://goframe.org/en/release/note>
- <https://goframe.org/en/release/v0.1.0>
- <https://goframe.org/en/release/v1.11.0>


## Security Notes

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


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gf
- **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 - gf: normalized package name match | nixpkgs package indexes: pkgs/by-name/gf/gf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - gf: normalized package name match | MacPorts ports tree: lang/gf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [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.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cot](https://www.automicvault.com/pkg/brew/cot/) - Shares av.db curated category or tags: cli, developer-tools, orm, web-framework.
- [hz](https://www.automicvault.com/pkg/brew/hz/) - Shares av.db curated category or tags: cli, developer-tools, go, microservices, web-framework.
- [treefrog](https://www.automicvault.com/pkg/brew/treefrog/) - Shares av.db curated category or tags: cli, developer-tools, orm, web-framework.
- [amber](https://www.automicvault.com/pkg/brew/amber/) - Shares av.db curated category or tags: cli, developer-tools, web-framework.
- [cppcms](https://www.automicvault.com/pkg/brew/cppcms/) - Shares av.db curated category or tags: cli, developer-tools, web-framework.
- [gci](https://www.automicvault.com/pkg/brew/gci/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [go-bindata](https://www.automicvault.com/pkg/brew/go-bindata/) - Shares av.db curated category or tags: cli, developer-tools, go.
- [go-blueprint](https://www.automicvault.com/pkg/brew/go-blueprint/) - Shares av.db curated category or tags: cli, developer-tools, go.

## Combined YAML source

View the package source record on GitHub. [combined/gf.yml](https://github.com/automic-vault/db/blob/main/combined/gf.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
