macOS
brew install protoc-gen-grpc-swiftlocal Homebrew formula metadata
brew / rank 2789
Protoc plugin for generating gRPC Swift stubs. Version 2.4.1 via Homebrew; verified 2026-09-13.
install
brew install protoc-gen-grpc-swiftlocal Homebrew formula metadata
overview
Protoc plugin for generating gRPC Swift stubs
history
protoc-gen-grpc-swift is the gRPC Swift protoc plugin for generating typed Swift client and server stubs from protobuf service declarations. The packaged executable is protoc-gen-grpc-swift-2 and is paired with SwiftProtobuf-generated message types.
The first grpc-swift repository combined a Swift gRPC runtime with its code generator. Its official README now identifies that line as gRPC Swift 1 in maintenance mode and points users to gRPC Swift 2.
The grpc-swift-protobuf project provides the Protocol Buffers integration and protoc code generator used by the current gRPC Swift generation workflow.
Swift support became part of gRPC's language ecosystem for Apple-platform and server-side Swift development. The generator is used with SwiftProtobuf, which supplies protobuf message generation and runtime support.
The current Homebrew record exposes an executable named protoc-gen-grpc-swift-2, reflecting the second-generation toolchain. Package-manager installation gives developers a host binary that can be integrated into protoc-based builds.
Install the generator, ensure protoc can locate the protoc-gen-grpc-swift-2 executable or pass its path explicitly, and run it alongside SwiftProtobuf generation for schemas containing services. Compile the generated sources with the corresponding gRPC Swift and SwiftProtobuf libraries. No persistent configuration or credentials file is documented for the generator.
The package highlights the generator/runtime split common to protobuf ecosystems: SwiftProtobuf owns message serialization, while grpc-swift-protobuf generates RPC-specific types layered on the gRPC Swift runtime.
The executable's -2 suffix is operationally important for build scripts and distinguishes the current generator line from the earlier gRPC Swift 1 tooling.
security posture
No matching local secret-handling manifest was found for protoc-gen-grpc-swift. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
protoc-gen-grpc-swift-2 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/grpc/grpc-swift-protobuf
install metadata
| Package key | brew:protoc-gen-grpc-swift |
|---|---|
| Version | 2.4.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/protoc-gen-grpc-swift |
| Homepage | https://github.com/grpc/grpc-swift-protobuf |
| Repository | https://github.com/grpc/grpc-swift-protobuf |
| License | Apache-2.0 |
| Source archive | https://github.com/grpc/grpc-swift-protobuf/archive/refs/tags/2.4.1.tar.gz |
| Last updated | 2026-09-13T12:31:36Z |
| Pulse | updated |
| Dependencies | protobuf, swift-protobuf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | protoc-gen-grpc-swift |
| Version Scheme | 1 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.