# gf を Homebrew, MacPorts, Nix でインストール

gf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gf
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gf
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:gf
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.10.2
- **ソース概要:** App development framework of Golang
- **ホームページ:** <https://goframe.org>
- **リポジトリ:** <https://github.com/gogf/gf>
- **最終更新:** 2026-07-25T20:55:22-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gf (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.10.2
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

gf に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## 他のパッケージマネージャ記録

- 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


## Combined YAML source

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


## ソース

- 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
