Linux Installation

Documentation on how to run Discord Bot on Linux System (VPS).

Before continuing with this Page you'll need to properly Configure your config.yml & commands.yml files. Also for this you'll need Dependencies from Last Section. After you've installed all of them successfully, come back to this section.

If you're gonna start bot with pm2 make sure you're not starting him with --watch flag!

These are steps you need to follow in order to install Bot Successfully.

  1. Log into your VPS

  2. cd into directory where are your files. 2.1 Make sure you're on Node 16.9 by running node -v, if not follow steps below on how to update NodeJS.

  3. Run Command npm install to install node modules.

  4. After it's finished start the bot. 4.1 If using PM2 (recommended) use pm2 start index.js --time 4.2 If not using PM2 use node index.js

How to update NodeJS?

  1. Install 'n' using npm install -g n

  2. Update Node to desired version 2.1 Update Node to stable version (recommended) using n stable 2.2 Update Node to latest version using n latest

If you encounter any issues during installation feel free to join Support Server and ask for help.

Last updated