Installing XPB

Install the xpb cli application in order 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:
go install github.com/pocketbuilds/xpb/cmd/xpb@latest

Optionally, to get the version command to properly work you need to add an ldflag to the command with the specified version you want:

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