Skip to main content
Module

x/pbkit/cli/pollapo/docs/en/getting-started.md

Protobuf toolkit for modern web development
Go to Latest
File

pollapo

Protobuf dependency management tool.

How to install

Using Homebrew

brew tap pbkit/tap
brew install pbkit

Windows

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 installer

You can find msi installer in release assets.

Using winget

winget install Riiid.pollapo

Linux

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

Prerequisites

# Clone pbkit repo
git clone git@github.com:pbkit/pbkit.git

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

Usage

Login

Pollapo downloads repositories using the GitHub api.
Sign in with GitHub account to get authentication information.

pollapo login

Install dependencies

Run the command as below in where you want to install the dependencies:

# Add dependencies
pollapo add riiid/interface-common-model riiid/interface-inside-model

# Install dependencies
pollapo install # Check the created `.pollapo` directory

Auto completion

Bash

source <(pollapo completions bash)

Fish

source (pollapo completions fish | psub)

Zsh

source <(pollapo completions zsh)