The Distro

Distribution archives containing Brooklyn as a standalone executable package are available in the following formats and locations:

Just download your preferred flavour and unpack.

The All Jar

You can grab a single JAR containing all of Brooklyn and its dependencies here:

Just download your preferred flavour and add it to your classpath.


You can checkout the examples from the brooklyn-examples git repository. Maven (v3) is required to build them, as described here. The examples for this version (0.4.0) are in the branch 0.4.0, so if you have git and mvn already, you can simply:

% git clone
% cd brooklyn-examples
% git checkout 0.4.0
% mvn clean install

If you don't use git, you can download the projects as a tarball instead from this link. These commands should do the trick:

% curl -L -o brooklyn-examples-0.4.0.tgz \
% tar xvfz brooklyn-examples-0.4.0.tgz
% mv brooklyncentral-brooklyn-examples-* brooklyn-examples-0.4.0 \
     # change the strange name which github assigns in the tarball
% mvn clean install

A good example to start with is the Elastic Web Cluster.


If you use maven, you can add Brooklyn with the following in your pom:


brooklyn-all (used above) brings in all dependencies, including jclouds and Apache Whirr. If you prefer a smaller repo you might want just brooklyn-core, brooklyn-policies, and some of brooklyn-software-webapp, brooklyn-software-database, brooklyn-software-messaging, or others (browse the full list here).

If you wish to use the Sonatype and/or Cloudsoft repositories (particularly for snapshots), you can add some of the following sections:

        <!-- optional for snapshot versions -->
            <name>Sonatype Nexus Snapshots</name>
            <releases> <enabled>false</enabled> </releases>
            <snapshots> <enabled>true</enabled> </snapshots>

Source Code

Full source is at Information on working with the source is here.

Alternatively you can download archives of the source directly: