Skip to content

Install bnd on the command line

Peter Kriens edited this page Jul 3, 2019 · 7 revisions

This page describes how to install bnd to be used from the command line.


Install JPM. This is a command line command manager for OS X, Windows, and Linux. We can install bnd from the command line:

 $ jpm install

Depending on the installation, it might be necessary to use sudo. You can now run bnd

$ bnd version


If you run on macOS, you can use brew to install bnd:

$ brew install bnd

After this, you can run bnd from the command line

$ bnd version

Basic Jar

Otherwise you have to download bnd and start it with Java. You should download bnd from Maven Central or from OSSRH Snapshot Repository (select the latest version).

Once you've downloaded, you can run this file from the command line:

C:/> java -jar biz.aQute.bnd.jar version

You could place this in a .bat file like:

@java -jar biz.aQute.bnd.jar %1 %2 %3 %4 %4 %6 %7 %8 %9