Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, scoop, winget 安装 grpcurl

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install grpcurl

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install grpcurl

MacPorts ports tree · devel/grpcurl/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add grpcurl

Alpine Linux edge package indexes · grpcurl · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install grpcurl

Fedora Rawhide package metadata · grpcurl · 来源: dl.fedoraproject.org

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

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

Windows

Scoop已验证 · 92%
scoop install main/grpcurl

Scoop official bucket manifest trees · bucket/grpcurl.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id fullstorydev.grpcurl -e

Windows Package Manager source index · fullstorydev.grpcurl · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Like cURL, but for gRPC

命令和别名

  • grpcurl

历史

项目历史与用法

grpcurl is a command-line tool for interacting with gRPC servers, deliberately analogous to curl for HTTP. It makes binary protobuf-based RPCs scriptable by accepting and emitting human-friendly JSON while using gRPC schemas to marshal requests.

项目历史

The official GitHub repository was created in 2017, and the first listed GitHub release was v1.0.0 in September 2018. FullStory's engineering blog later described grpcurl as a tool for querying gRPC servers similarly to how curl queries HTTP endpoints.

grpcurl emerged to fill a protocol gap: ordinary curl cannot conveniently invoke gRPC because gRPC uses HTTP/2 plus protobuf binary messages. The README explains that grpcurl uses server reflection, proto source files, or protoset descriptor files to discover schemas and translate JSON request bodies to protobuf messages.

The repository also provides a Go library package for building other tools that dynamically invoke gRPC endpoints, making grpcurl both a user-facing CLI and a reusable implementation example for reflection-driven gRPC tooling.

采用历史

grpcurl adoption follows gRPC adoption. As teams moved internal APIs to gRPC, they needed a quick shell-native way to list services, describe methods, send requests, add metadata, test TLS and mTLS, and script health or debugging calls.

FullStory's blog noted that grpcurl implementation code helped power other dynamic gRPC tools such as Uber's Prototool. The README also lists Homebrew, Docker, Snap, Go install, and third-party packages, showing broad packaging interest around a small CLI.

The tool became a common recommendation because it preserves the Unix habit of direct command-line API inspection while respecting gRPC's schema-driven binary protocol.

使用方式

Typical usage is `grpcurl HOST:PORT list`, `grpcurl HOST:PORT describe SERVICE`, or `grpcurl -d '{...}' HOST:PORT package.Service/Method`. Users can add metadata with `-H`, use plaintext or TLS, and feed JSON from stdin with `-d @`.

When a server supports gRPC reflection, grpcurl can discover services dynamically. Without reflection, users provide `.proto` sources or compiled protoset files so grpcurl can encode and decode messages correctly.

grpcurl supports unary and streaming RPCs, including interactive bidirectional streaming from a terminal. That makes it useful for smoke tests, local development, CI checks, and quick production debugging when paired with appropriate credentials and network access.

为什么软件包爱好者会关心

grpcurl is one of those packages that earns its place by being exactly the missing CLI. It lets package-manager users install a single binary and immediately inspect a gRPC service without writing a generated client.

It is also an archetypal Go-distributed developer tool: upstream releases binaries, Homebrew packages it, Docker images exist, and `go install` remains a source path. That redundancy is useful because grpcurl is often needed inside CI images and ephemeral debugging shells.

For API tooling, grpcurl made gRPC feel less opaque to developers raised on curl, jq, and shell pipelines. Its JSON bridge is not the wire format; it is the human interface that makes the protobuf wire format tolerable at a prompt.

时间线

  • 2017: The grpcurl GitHub repository was created.
  • 2018: v1.0.0 was published on GitHub releases.
  • 2019: FullStory published 'The tale of gRPCurl', explaining the curl-for-gRPC motivation and related tooling reuse.
  • 2020s: The README documents Homebrew, Docker, Snap, Go install, and other packaging routes.

Related projects

  • gRPC is the RPC framework grpcurl targets.
  • Protocol Buffers provide the message and descriptor model grpcurl uses for JSON-to-binary translation.
  • grpcui is a browser UI built as a companion to grpcurl.
  • gRPC server reflection lets grpcurl discover schemas directly from a running service.
  • Prototool is cited by FullStory as another dynamic gRPC tool that used grpcurl implementation code.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本1.9.3
管理器更新时间2026-06-15
本地数据OK
上游当前
检测到的最新版本v1.9.3

https://github.com/fullstorydev/grpcurl

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

安装元数据

软件包元数据

软件包键brew:grpcurl
版本1.9.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/grpcurl
主页https://www.fullstory.com/resources/content/fullstory-engineering-blog/
仓库https://github.com/fullstorydev/grpcurl
上游文档https://github.com/fullstorydev/grpcurl#readme
许可证MIT
源码归档https://github.com/fullstorydev/grpcurl/archive/refs/tags/v1.9.3.tar.gz
最后更新2026-06-15T10:20:17-04:00
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegrpcurl
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%

grpcurl

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

grpcurl 1.9.3-r13

CLI tool to interact with gRPC servers

https://github.com/fullstorydev/grpcurl

sudo apk add grpcurl
  • License: MIT
  • Architecture: x86_64
  • Source Package: grpcurl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Grpcurl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: grpcurl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

grpcurl 1.9.3-8.fc44

Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

https://github.com/fullstorydev/grpcurl

sudo dnf install grpcurl
  • License: Apache-2.0 AND BSD-3-Clause AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: grpcurl
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Grpcurl
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: grpcurl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

grpcurl

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

main/grpcurl

scoop install main/grpcurl
  • normalized package name match
  • 匹配方式:Grpcurl
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/grpcurl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

fullstorydev.grpcurl

winget install --id fullstorydev.grpcurl -e
  • normalized package name match
  • 匹配方式:Grpcurl
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: fullstorydev.grpcurl from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

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

使用的来源

  • 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