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

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

  1. Download NodeBB from the official website: https://nodebb.org/.

  2. Extract the contents of the downloaded zip file to a directory of your choice.

  3. Open the command prompt and navigate to the NodeBB directory using the cd command:

    cd /path/to/nodebb
    
  4. Install NodeBB dependencies using the following command:

    npm install
    
  5. Once the installation is complete, start MongoDB and Redis servers in separate command prompt windows:

    mongod
    
    redis-server
    
  6. To start NodeBB, use the following command:

    npm start
    
  7. Open 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.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!