Stop the war

Stand with Ukraine flag

Support Ukraine

Try it now Pricing
IoT Gateway
Community Edition Professional Edition Cloud Edge PE Edge IoT Gateway License Server Trendz Analytics Mobile Application PE Mobile Application MQTT Broker
Installation > Installation from sources (Latest version)
Getting Started Documentation

IoT Gateway installation from sources.

Installation from sources

To install ThingsBoard Gateway from sources, you should follow steps below:

1. Install required libraries to the system with apt:

sudo apt install python3-dev python3-pip libglib2.0-dev git 

2. Download repository from GitHub:

git clone --recurse-submodules --depth 1

3. Move into downloaded directory:

cd thingsboard-gateway

4. Install python requirements:

pip3 install -r requirements.txt

5. Create “logs” folder:

mkdir logs

6. Configure gateway to work with your instance of ThingsBoard platform, using this guide or just run to test result of installation such as in the next step.

7. Run gateway, to check installation result:

python3 ./thingsboard_gateway/

Hot Reloader

If you are using Gateway for development, you can enable Hot Reloader to restart Gateway every time when you edit any project file.

To run Gateway with Hot Reloader, use the following command:

python3 ./thingsboard_gateway/ true