SudoBot provides prebuilt packages for common Linux distributions so you can install it without building from source. Packages are published with each release on the GitHub releases page in two variants: a generic package that bundles all dependencies, and a nodeps package for advanced users who prefer to manage Node.js and NPM themselves.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/onesoft-sudo/sudobot/llms.txt
Use this file to discover all available pages before exploring further.
If you are new to SudoBot, start with the generic package. It includes Node.js and all other required dependencies and is the easiest path to a working installation.
Debian and Ubuntu
Add the NodeSource repository (recommended)
The NodeSource repository provides up-to-date Node.js builds for Debian-based systems. Adding it ensures you have a compatible Node.js version even if the system package is outdated:
Download the package
Go to the GitHub releases page and download the
.deb file for the latest release. Choose sudobot_<version>_all.deb for the generic package or sudobot-nodeps_<version>_all.deb for the nodeps variant.Fedora, RHEL, and CentOS
Download the package
Go to the GitHub releases page and download the
.rpm file. Choose sudobot-<version>.noarch.rpm for the generic package or sudobot-nodeps-<version>.noarch.rpm for the nodeps variant.Other Linux distributions
For distributions that do not use.deb or .rpm packages, SudoBot is also released as a .tar.gz archive containing precompiled JavaScript files. Download the archive from the GitHub releases page, extract it, and install Node.js and NPM from your distribution’s package manager or from the Node.js website.
After installation
Once the package is installed, configure SudoBot before starting it. Set your environment variables (bot token, database URL, etc.) in the configuration file placed by the installer, and ensure yourSUDO_PREFIX directory contains a valid config/config.json and config/system.json.
Then start the bot using your init system.
- systemd
- SysV init
Most modern Linux distributions use systemd. The package registers a
sudobot service automatically.Manual foreground mode
To run SudoBot directly in the foreground without an init system — useful for debugging — use:Next steps
After the bot is running, register your slash commands and set up custom emojis:Quickstart guide
See the full setup guide including command registration and emoji setup.
Environment variables
Reference for all environment variables that configure SudoBot’s behavior.
