Installation

pbkit provides two clis.

  • pb: the protobuf schema compiler
  • pollapo: the package manager for protocol buffers.

macOS

Using homebrew

brew install pbkit/tap/pbkit

Linux

Using pre-built binary
You can find pre-built binary in release assets.
Download it and copy it to somewhere in PATH.

Windows

You have to install two clis respectively.

Install pollapo

Note that you should add pollapo installed location to PATH environment variable manually.

Using pre-built binary
You can find pre-built binary in release assets.
Download it and copy it to somewhere in PATH.

Using msi installer
You can find msi installer in release assets.

Using winget

winget install Riiid.pollapo

Install pb

Using pre-built binary
You can find pre-built binary in release assets.
Download it and copy it to somewhere in PATH.

Install from source

Make sure you have the following prerequisites installed:

# clone pbkit repository
git clone git@github.com:pbkit/pbkit.git

# Install pollapo command
deno install -n pb -A --unstable pbkit/cli/pb/entrypoint.ts