Installing Node.js
If you want use "Guilded-Bot", you need to install Node.js first. Node.js V16.14.0 or higher is required.
📌
If you already have Node.js installed, you can skip this step.
Windows
- Go to Node.js and download the latest version.
- Run the installer and follow the instructions.
- Open a command prompt and type
node -v
to check if Node.js is installed correctly.
Linux
Debian/Ubuntu
- Run
sudo apt install nodejs
in a terminal. - Run
sudo apt install npm
in a terminal. - Run
node -v
in a terminal to check if Node.js is installed correctly.
CentOS/Fedora/Red Hat
- Run
sudo dnf module install nodejs:16
in a terminal. - Run
node -v
in a terminal to check if Node.js is installed correctly.
Arch Linux
- Run
sudo pacman -S nodejs
in a terminal. - Run
node -v
in a terminal to check if Node.js is installed correctly.
macOS
Homebrew
- Run
brew install node
in a terminal. - Run
node -v
in a terminal to check if Node.js is installed correctly.
MacPorts
- Run
port install nodejs16
in a terminal. - Run
node -v
in a terminal to check if Node.js is installed correctly.
pkgsrc
- Run
pkgin install nodejs
in a terminal. - Run
node -v
in a terminal to check if Node.js is installed correctly.
Native Installer
- Run
curl "https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest/ | sed -nE 's|.*>node-(.*)\.pkg</a>.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest.pkg" -target "/" && rm "$HOME/Downloads/node-latest.pkg"
- Run
node -v
in a terminal to check if Node.js is installed correctly.