How to Install Thingsboard on macOS

This tutorial will guide you through the steps to install Thingsboard on macOS.

Prerequisites

Before you start, make sure your macOS system meets the following requirements:

  • Java 8 or later
  • Git

Install Thingsboard

  1. Open the Terminal app on your macOS system.
  2. Clone the Thingsboard repository from Github using the following command:
    git clone https://github.com/thingsboard/thingsboard.git
    
  3. Change into the thingsboard directory:
    cd thingsboard
    
  4. Build the Thingsboard distribution package:
    ./gradlew clean build -x test
    
    Note: This step will take some time to complete.
  5. Once the build process has completed successfully, you can find the Thingsboard distribution package in the following directory:
    thingsboard/application/target
    
  6. Extract the distribution package by running the following command:
    tar -xvf thingsboard-application.tar.gz
    
  7. Change into the extracted directory:
    cd thingsboard
    
  8. Start Thingsboard using the following command:
    sudo ./bin/install/install.sh --loadDemo
    
    Note: The --loadDemo option loads the demo data, which is useful for testing and learning purposes. You can omit this option if you don't want to load the demo data.
  9. Wait for the installation process to complete (it might take a few minutes).
  10. Once the installation has completed, you can access Thingsboard at the following URL:
http://localhost:8080

Congratulations! You have successfully installed Thingsboard on macOS. Enjoy exploring its features and capabilities.