Dependencies

Guardian is built using Discord.js, which means that we have to install Node as a dependency to run the bot. Any Node version above 14 should be fine

If you are using Pterodactyl, you can skip installing dependencies and follow Running On Pterodactyl

Windows

  1. Go to the official Node.js website at https://nodejs.org/en/.

  2. Click the “Download” button to download the latest version of Node.js for your operating system. In this case, windows.

  3. Once the download is complete, double-click the downloaded file to begin the installation process.

  4. Follow the installation wizard prompts to complete the installation. You can choose the default options, or customize the installation if you prefer.

  5. Once the installation is complete, open the command prompt or terminal on your machine.

  6. Type the following command to check if Node.js is installed: node -v

  7. If Node.js is installed, the version number should be displayed. If not, you may need to add the Node.js installation directory to your system path.

Linux & macOS

It is easier to install node on Linux or macOS using NVM or Node Version Manager. Follow the installation steps found here:

Git

To make life easy, you can install git to easily clone (download) the bot code from its repository

Follow the installation steps found here:

If you do not want to install git you can just download the code directly from the bot repo

Last updated