Learn how to install BotMate on your computer.
Welcome to BotMate installation guide! This documentation will walk you through the process of installing BotMate on your computer. Before we begin, please make sure that you have Node.js installed on your machine. We recommend using Node.js version 16 or higher.
You can follow the same step to install on Termux (Android) and other Linux servers.
To install BotMate, run the following command in your terminal:
npm i -g botmate
This will install BotMate globally on your machine.
To verify that BotMate has been installed successfully, run the following command in your terminal:
This will display the version of BotMate that you have installed.
To start BotMate, run the following command in your terminal:
This will prompt you to enter PostgreSQL database credentials. After you enter the details, it will save it to
.envfile in current working directory. Next, BotMate server will start running, the default port is 8080.