Install and run
PBrokkR comes as two programs in one folder:
| Program | What it is |
|---|---|
pbrokkr | The app. Double-click it: it opens the PBrokkR window and stops when you close the window. |
pbrokkr-cli | The command line (pbrokkr-cli generate, batch, params, mcp…), for scripts, batches and AI agents. |
Download (no Python needed)
Open the Releases page of the repository and download the file of your system (SHA256SUMS.txt holds the checksums of all of them):
| System | Installer | Or the zip (no install) |
|---|---|---|
| Windows | pbrokkr-<version>-windows-x64-setup.exe | pbrokkr-<version>-windows-x64.zip |
| macOS (Apple silicon) | pbrokkr-<version>-macos-arm64.dmg | pbrokkr-<version>-macos-arm64.zip |
| Linux | pbrokkr-<version>-linux-x64.zip |
- Windows installer: installs for your user (no administrator; the first page offers "all users"), adds PBrokkR to the Start menu (and, if ticked, the desktop), and puts
pbrokkr-clion the PATH (ticked by default). A newer installer replaces the old version; uninstall from Settings > Apps, which also takes it off the PATH. - macOS disk image: open it and drag
PBrokkR.appontoApplications. To use the command line, double-click Add pbrokkr-cli to PATH.command in the image afterwards. - Zip: unzip it anywhere, for example
C:\Tools\PBrokkR, and double-clickpbrokkr(pbrokkr.exe).
The program folder is never written to: your work goes to the library, and installing or uninstalling never touches it.
The window uses Edge or Chrome in app mode; without either, PBrokkR opens in your default browser. Starting pbrokkr again while it runs opens another window on the same app. The programs are not signed yet: Windows SmartScreen may ask you to confirm the first start (More info > Run anyway), and macOS may need right-click > Open.
To use the command line from any folder with the zip, run its script once (current user only, no administrator), then open a new terminal and try pbrokkr-cli --version:
- Windows: double-click
add-to-path.cmd(add-to-path.cmd /removeundoes it). - macOS / Linux:
./add-to-path.shin that folder (./add-to-path.sh --removeundoes it). It adds one marked line to your shell start-up file (~/.zprofileon macOS,~/.profileon Linux). Run it again if you move the folder.
Or call it by its full path:
C:\Tools\PBrokkR\pbrokkr-cli.exe generate rock.jpg -p photo_rock -o out\rockFrom the source code
For development, or on a system without a download. You need Python 3.10 or newer (3.13 is what it is tested with) and two libraries, numpy and Pillow, installed inside the project folder; nothing goes into your system Python.
py -3.13 -m venv .venv
$env:PIP_CACHE_DIR = "$PWD\.cache\pip"
.venv\Scripts\python -m pip install -r requirements.txt
.\pbrokkr.cmd # the app window
.\pbrokkr-cli.cmd --help # the command linepython3 -m venv .venv
PIP_CACHE_DIR="$PWD/.cache/pip" .venv/bin/python -m pip install -r requirements.txt
./pbrokkr.sh # the app window
./pbrokkr-cli.sh --help # the command lineFrom source, pbrokkr-cli in this site means .\pbrokkr-cli.cmd (Windows) or ./pbrokkr-cli.sh. The older launchers pbrgen.cmd / pbrgen.sh and python -m pbrgen still work and take the same commands.
The server from the command line
pbrokkr-cli serve --app--app opens PBrokkR in its own window. Use --open instead to open a normal browser tab, or neither and go to http://127.0.0.1:8765 yourself. The server only listens on your own computer (127.0.0.1). Press Ctrl+C to stop it, or add --exit-when-closed to stop it when the window is closed (what pbrokkr does).
| Option | What it does |
|---|---|
--port 9000 | Use another port when 8765 is taken. |
--library D:\Textures\PBrokkR | Keep your materials, exports and layouts in this folder for this session. |
pbrokkr takes --port and --library too. Without --library, the library is the folder set in File > Preferences, and before you set one it is Documents/PBrokkR. See Library and files.
Check that it works
pbrokkr-cli generate --kind procedural -p proc_bubbles -o out\bubbles --sheetThis needs no input image. It writes the maps of a bubble pattern to out\bubbles, with a contact sheet (*_sheet.png) that shows them side by side.
Feedback
Help > Leave your feedback sends a rating and comments to the author. It is the only thing PBrokkR ever sends over the internet, and only when you click Send.