Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix 安装 gf

查看 gf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gf

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gf

MacPorts ports tree · lang/gf/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#gf

nixpkgs package indexes · pkgs/by-name/gf/gf/package.nix · 来源: api.github.com

概览

软件包摘要

App development framework of Golang

历史

项目历史与用法

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.

安全态势

尚未找到受保护工具覆盖

没有找到 gf 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gfcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.10.2
管理器更新时间2026-05-14
本地数据OK
上游当前
检测到的最新版本v2.10.2

https://github.com/gogf/gf

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:gf
版本2.10.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gf
主页https://goframe.org
仓库https://github.com/gogf/gf
上游文档https://goframe.org/en/docs
许可证MIT
源码归档https://github.com/gogf/gf/archive/refs/tags/v2.10.2.tar.gz
最后更新2026-05-14T09:21:43Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegf
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

gf

nix profile install nixpkgs#gf
  • normalized package name match
  • 匹配方式:Gf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gf/gf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

gf

sudo port install gf
  • normalized package name match
  • 匹配方式:Gf
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/gf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

Combined YAML source

View the package source record on GitHub.

combined/gf.yml

使用的来源

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