macOS
brew install grpclocal Homebrew formula metadata
sudo port install grpcMacPorts ports tree · devel/grpc/Portfile · 来源: api.github.com
安装
brew install grpclocal Homebrew formula metadata
sudo port install grpcMacPorts ports tree · devel/grpc/Portfile · 来源: api.github.com
sudo apk add grpcAlpine Linux edge package indexes · grpc · 来源: dl-cdn.alpinelinux.org
sudo dnf install grpcFedora Rawhide package metadata · grpc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#grpcnixpkgs package indexes · pkgs/by-name/gr/grpc/package.nix · 来源: api.github.com
sudo pacman -S grpcArch Linux sync databases · grpc · 来源: geo.mirror.pkgbuild.com
sudo apt install libgrpc++-devDebian stable package indexes · libgrpc++-dev · 来源: deb.debian.org
sudo zypper install grpc-developenSUSE Tumbleweed package metadata · grpc-devel · 来源: download.opensuse.org
概览
Next generation open source RPC library and framework
历史
gRPC is an open source, high-performance Remote Procedure Call framework used to define services with Protocol Buffers and generate client/server bindings across languages.
The Homebrew `grpc` package is especially package-manager-relevant because it ships native code and protocol-compiler plugins for multiple languages, making it part runtime library, part code-generation toolkit, and part distributed-systems plumbing.
The gRPC design came from Google's internal Stubby RPC infrastructure. The official 2015 motivation and design post explains that Stubby had connected large numbers of Google microservices for more than a decade but was tied to internal infrastructure, while HTTP/2 and related public standards made an open rework practical.
gRPC was announced publicly in 2015 and reached 1.0 on 2016-08-23. The 1.0 announcement stated that C++, Java, Go, Node, Ruby, Python, and C# moved to 1.0 across Linux, Windows, and Mac, with Objective-C and Android Java support also moving to 1.0.
The 1.0 release established a stable core protocol and API surface, semantic versioning expectations, cross-language interoperability tests, and public performance measurements. That combination made gRPC packageable not only as a library but as a cross-language toolchain component.
CNCF accepted gRPC on 2017-02-16 at the Incubating maturity level. The CNCF project page identifies it as a high-performance open source universal RPC framework and exposes project health and contributor metrics through LFX insights.
The 1.0 announcement described early usage in open source projects such as etcd, containerd, and CockroachDB and by companies including Netflix, Vendasta, YikYak, Carbon3D, Cisco, Juniper, Arista, and Ciena. It also cited Google Cloud APIs and TensorFlow using gRPC for API surfaces or inter-process communication.
The official site presents gRPC as useful across data centers, mobile applications, browsers, and backend services, with pluggable support for load balancing, tracing, health checking, and authentication.
gRPC-Web extended the model toward browser clients. The official gRPC-Web history notes work beginning in 2016, a 1.0/GA moment in 2018 for the Google implementation, and Envoy-proxy-based deployment patterns for translating browser requests to gRPC HTTP/2 services.
Developers define services in `.proto` files, then use `protoc` and gRPC plugins to generate typed client and server code. The Homebrew package's executables are language plugins such as `grpc_cpp_plugin`, `grpc_csharp_plugin`, `grpc_node_plugin`, `grpc_objective_c_plugin`, `grpc_php_plugin`, `grpc_python_plugin`, and `grpc_ruby_plugin`.
Common package use is indirect: a developer installs `grpc` so builds can generate service stubs, compile native gRPC dependencies, or satisfy packages that need C-core-based language bindings.
gRPC's design goals explain why it became a package-manager staple: broad platform coverage, open licensing, interoperability over common infrastructure, general-purpose performance, streaming, blocking and non-blocking APIs, cancellation, flow control, pluggability, metadata, and standardized status codes.
gRPC is a dependency magnet. It appears in language package managers, OS package managers, Docker images, generated-code workflows, and cloud-native control planes because service definitions need compiler plugins and runtime libraries.
It also illustrates a hard packaging problem: one protocol family spans C/C++, Go, Java, Python, Ruby, PHP, Objective-C, C#, Node, web proxies, and generated artifacts. OS packages often expose only a slice of that surface while language ecosystems ship their own runtime packages.
For CLI and formula users, the codegen plugins are the visible part. A successful install often matters less because a human will run `grpc_cpp_plugin` directly and more because Bazel, CMake, Make, Gradle, or another build tool can find it during protocol generation.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
grpc_cpp_plugin | cli | 全局可执行文件 | |
grpc_csharp_plugin | cli | 全局可执行文件 | |
grpc_node_plugin | cli | 全局可执行文件 | |
grpc_objective_c_plugin | cli | 全局可执行文件 | |
grpc_php_plugin | cli | 全局可执行文件 | |
grpc_python_plugin | cli | 全局可执行文件 | |
grpc_ruby_plugin | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:grpc |
|---|---|
| 版本 | 1.82.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/grpc |
| 主页 | https://grpc.io/ |
| 仓库 | https://github.com/grpc/grpc |
| 上游文档 | https://grpc.io/docs |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/grpc/grpc.git |
| 最后更新 | 2026-07-08T16:33:49Z |
| Pulse | updated |
| 依赖 | abseil, c-ares, openssl@3, protobuf, re2 |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | grpc |
| Aliases |
|
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libgrpc++-dev 1.51.1-6
high performance general RPC framework (development)
sudo apt install libgrpc++-devlibgrpc++1.51t64 1.51.1-6
high performance general RPC framework
sudo apt install libgrpc++1.51t64libgrpc-dev 1.51.1-6
high performance general RPC framework (development)
sudo apt install libgrpc-devlibgrpc29t64 1.51.1-6
high performance general RPC framework
sudo apt install libgrpc29t64protobuf-compiler-grpc 1.51.1-6
high performance general RPC framework - protobuf plugin
sudo apt install protobuf-compiler-grpcpython3-grpcio 1.51.1-6
GRPC system (Python 3)
sudo apt install python3-grpcioruby-grpc 1.51.1-6
GRPC system in Ruby
sudo apt install ruby-grpcruby-grpc-tools 1.51.1-6
Development tools for Ruby gRPC
sudo apt install ruby-grpc-toolsgrpc
nix profile install nixpkgs#grpclibgrpc++-dev 1.51.1-4.1build5
high performance general RPC framework (development)
sudo apt install libgrpc++-devlibgrpc++1.51t64 1.51.1-4.1build5
high performance general RPC framework
sudo apt install libgrpc++1.51t64libgrpc-dev 1.51.1-4.1build5
high performance general RPC framework (development)
sudo apt install libgrpc-devlibgrpc29t64 1.51.1-4.1build5
high performance general RPC framework
sudo apt install libgrpc29t64protobuf-compiler-grpc 1.51.1-4.1build5
high performance general RPC framework - protobuf plugin
sudo apt install protobuf-compiler-grpcpython3-grpcio 1.51.1-4.1build5
GRPC system (Python 3)
sudo apt install python3-grpcioruby-grpc 1.51.1-4.1build5
GRPC system in Ruby
sudo apt install ruby-grpc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.