How to Install NodeBB on Windows 11
NodeBB is a modern open-source forum software that is built using node.js, MongoDB, and Redis. In this tutorial, we will guide you on how to install NodeBB on Windows 11 using the command prompt.
Prerequisites
- Windows 11
- Node.js version 14 or higher
- MongoDB version 3.6 or higher
- Redis version 2.8 or higher
Step 1 - Install Node.js
First, download and install Node.js from the official website: https://nodejs.org/. Follow the prompts and set the relevant environment variables.
Step 2 - Install MongoDB
Download and install MongoDB from the official website: https://www.mongodb.com/try/download/community. Follow the prompts and set the relevant environment variables.
Step 3 - Install Redis
Download and install Redis from the official website: https://redis.io/download. Extract the contents of the downloaded zip file to a directory of your choice, and set the relevant environment variables.
Step 4 - Install NodeBB
Download NodeBB from the official website: https://nodebb.org/.
Extract the contents of the downloaded zip file to a directory of your choice.
Open the command prompt and navigate to the NodeBB directory using the
cdcommand:cd /path/to/nodebbInstall NodeBB dependencies using the following command:
npm installOnce the installation is complete, start MongoDB and Redis servers in separate command prompt windows:
mongodredis-serverTo start NodeBB, use the following command:
npm startOpen a web browser and navigate to
http://localhost:4567/to access the NodeBB forum.
Congratulations! You have successfully installed NodeBB on your Windows 11 system. You can now customize your forum and start building your community.