Community Edition
ThingsBoard Documentation
Cloud Professional Edition Community Edition Edge IoT Gateway License Server Trendz Analytics
Try it now Pricing
Installation > On premise > Building from sources
Getting Started Documentation Guides
Architecture API FAQ

On this page

Building from sources

This guide will help you to download and build ThingsBoard from sources. Instructions listed below are tested on Ubuntu 16.04 and CentOS 7.1

Required tools

This section contains installation instructions for build tools.

Java

ThingsBoard is build using Java 11. You can use following instructions to install Java 11.

Maven

ThingsBoard build requires Maven 3.1.0+.

1
sudo apt-get install maven
1
sudo yum install maven

Please note that maven installation may set Java 7 as a default JVM on certain Linux machines. Use java installation instructions to fix this.

Source code

You can clone source code of the project from the official github repo.

1
2
3
git clone [email protected]:thingsboard/thingsboard.git
# checkout latest release branch
git checkout release-3.3

Build

Run the following command from the thingsboard folder to build the project:

1
mvn clean install

Build local docker images

1
mvn clean install -Ddockerfile.skip=false

Build artifacts

You can find debian, rpm and windows packages in the target folder:

1
application/target