pkg.soopen package index

brew / rank 2789

Install protoc-gen-grpc-swift with Homebrew

Protoc plugin for generating gRPC Swift stubs. Version 2.4.1 via Homebrew; verified 2026-09-13.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install protoc-gen-grpc-swift

local Homebrew formula metadata

overview

Package summary

Protoc plugin for generating gRPC Swift stubs

Commands and aliases

  • protoc-gen-grpc-swift-2

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • gRPC Swift 1 established a combined Swift runtime and code-generation project.
  • The first-generation grpc-swift line entered maintenance mode as gRPC Swift 2 became current.
  • The current protobuf integration is maintained in grpc-swift-protobuf and packaged with the protoc-gen-grpc-swift-2 executable.

Related projects

  • SwiftProtobuf provides protoc-gen-swift and the protobuf runtime used by generated message types.
  • gRPC Swift provides the RPC runtime consumed by generated clients and servers.
  • protoc invokes the gRPC Swift plugin when compiling protobuf service definitions.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 4 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
protoc-gen-grpc-swift-2cliglobal executable

freshness

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

page generated2026-09-19
manager version2.4.1
manager updated2026-09-13
local dataok
upstreamcurrent
latest detected2.4.1

https://github.com/grpc/grpc-swift-protobuf

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:protoc-gen-grpc-swift
Version2.4.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/protoc-gen-grpc-swift
Homepagehttps://github.com/grpc/grpc-swift-protobuf
Repositoryhttps://github.com/grpc/grpc-swift-protobuf
LicenseApache-2.0
Source archivehttps://github.com/grpc/grpc-swift-protobuf/archive/refs/tags/2.4.1.tar.gz
Last updated2026-09-13T12:31:36Z
Pulseupdated
Dependenciesprotobuf, swift-protobuf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameprotoc-gen-grpc-swift
Version Scheme1
Revision0
Head VersionHEAD
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation