Installation
pbkit
provides three clis.
pb
: Protobuf schema compiler.pbkit
: Version manager for pbkit.pollapo
: Package manager for protobuf schemas.
Recommended way
- Install Deno
- Setup
PATH
to your$HOME/.zshrc
(or similar)export PATH="$HOME/.deno/bin:$PATH"
- Run below
deno run -A --unstable https://pbkit.dev/ use
Other methods
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 pb, pbkit, pollapo command
deno install -n pb -A --unstable pbkit/cli/pb/entrypoint.ts
deno install -n pbkit -A --unstable pbkit/cli/pbkit/entrypoint.ts
deno install -n pollapo -A --unstable pbkit/cli/pollapo/entrypoint.ts