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 -vto check if Node.js is installed correctly.
Linux
Debian/Ubuntu
- Run
sudo apt install nodejsin a terminal. - Run
sudo apt install npmin a terminal. - Run
node -vin a terminal to check if Node.js is installed correctly.
CentOS/Fedora/Red Hat
- Run
sudo dnf module install nodejs:16in a terminal. - Run
node -vin a terminal to check if Node.js is installed correctly.
Arch Linux
- Run
sudo pacman -S nodejsin a terminal. - Run
node -vin a terminal to check if Node.js is installed correctly.
macOS
Homebrew
- Run
brew install nodein a terminal. - Run
node -vin a terminal to check if Node.js is installed correctly.
MacPorts
- Run
port install nodejs16in a terminal. - Run
node -vin a terminal to check if Node.js is installed correctly.
pkgsrc
- Run
pkgin install nodejsin a terminal. - Run
node -vin 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 -vin a terminal to check if Node.js is installed correctly.