BPM is the official package manager for the Bnlang Programming Language.
It lets you install, publish, search, and manage packages for your projects.
- Login/logout with registry
- Install local or global packages
- Publish new packages
- Search registry
- Manage config (
.bpmrc.json) - Simple CLI interface
Clone the repo and run with Bnlang:
git clone https://github.com/bnlang/bpm.git
cd bpm
bnl src/bpm.bnl --helpbnl src/bpm.bnl login -u myuser -p mypassbnl src/bpm.bnl whoamibnl src/bpm.bnl install yourpackagebnl src/bpm.bnl install -g yourpackageInside a project with bnl_package.json:
bnl src/bpm.bnl publishbnl src/bpm.bnl search keywordConfig is stored at ~/.bpmrc.json.
Examples:
bnl src/bpm.bnl config get registry
bnl src/bpm.bnl config set registry https://bpm.bnlang.dev/apiBPM uses bnl_package.json:
{
"name": "mypkg",
"version": "1.0.0",
"description": "Example package",
"dependencies": {
"otherpkg": "^1.2.0"
},
"bin": {
"mycmd": "cli.bnl"
}
}Set custom registry:
# Linux / macOS
export BPM_REGISTRY=http://your-registry:3000
# Windows PowerShell
$env:BPM_REGISTRY="http://your-registry:3000"
# Windows CMD
set BPM_REGISTRY=http://your-registry:3000BPM is licensed under the Apache License 2.0.
© 2025 Bnlang