1. XPB CLI
  2. Installing XPB
Edit on GitHub

Installing XPB

Install the xpb CLI to build custom PocketBase binaries with plugins from the PocketBuilds ecosystem.

The xpb cli application also has a plugin project template generator for those who wish to develop xpb plugins themselves.

Dependencies

Download a Release

Use go install

  1. Install Go .
  2. Follow this guide to add Go install directory to your system’s shell path.
  3. Run the following command:
sh
go install github.com/pocketbuilds/xpb/cmd/xpb@latest

Optionally, to embed an explicit version string in xpb version, pin the install to a tag and set the version ldflag:

sh
go install -ldflags '-X github.com/pocketbuilds/xpb.version=<version>' github.com/pocketbuilds/xpb/cmd/xpb@<version>

Verify

sh
xpb version

Next