bpm

BPM is the official package manager for the Bangla Programming Language (Bnlang). Discover, install, and manage Bnlang libraries and tools easily. Build faster with a reliable, community-driven package ecosystem.

73 downloads v1.0.1 Updated 27 days ago License: Apache-2.0

README

BPM — Bnlang Package Manager

BPM is the official package manager for the Bnlang Programming Language.
It lets you install, publish, search, and manage packages for your projects.


Features

  • Login/logout with registry
  • Install local or global packages
  • Publish new packages
  • Search registry
  • Manage config (.bpmrc.json)
  • Simple CLI interface

Installation

Clone the repo and run with Bnlang:

git clone https://github.com/bnlang/bpm.git
cd bpm
bnl src/bpm.bnl --help

Quick Start

Login

bnl src/bpm.bnl login -u myuser -p mypass

Who am I?

bnl src/bpm.bnl whoami

Install a package

bnl src/bpm.bnl install yourpackage

Global install

bnl src/bpm.bnl install -g yourpackage

Publish a package

Inside a project with bnl_package.json:

bnl src/bpm.bnl publish

Search

bnl src/bpm.bnl search keyword

Config

Config is stored at ~/.bpmrc.json.

Examples:

bnl src/bpm.bnl config get registry
bnl src/bpm.bnl config set registry https://bpm.bnlang.dev/api

Package Manifest

BPM uses bnl_package.json:

{
  "name": "mypkg",
  "version": "1.0.0",
  "description": "Example package",
  "dependencies": {
    "otherpkg": "^1.2.0"
  },
  "bin": {
    "mycmd": "cli.bnl"
  }
}

Environment Variables

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:3000

License

BPM is licensed under the Apache License 2.0.
© 2025 Bnlang

Version History

v1.0.1 Latest
27 days ago
29 days ago