Windows 10

Setting up Rocket.Chat on Windows requires using the WSL2. Windows Subsystem for Linux 2 (WSL2) is a complete architectural overhaul of Linux on Windows, installing an entire Linux kernel (built by Microsoft) alongside the classic Windows kernel. The Linux and Windows kernels can now share system resources, such as memory and CPU, at a previously impossible granularity.

Preparation Steps

Software Requirements

Machine Requirements

To set up Rocket.Chat development environment, you'll require a Windows machine that meets the following minimum specifications:

  • 12 GB of RAM (16+ GB highly recommended)

  • Four or more cores on CPU (at least 3 GHz boosted, 4.2 GHz or higher recommended)

  • 80 GB of available fast SSD storage (PCIe 4.0 NVMe SSD recommended)

Before establishing a Rocket.Chat development environment on Windows, consider these key points:

  • Clone the Rocket.Chat repository under ~ (/home/username) directory. Otherwise, MongoDB won't start.

During the build, you may notice peer or transitive dependencies warnings. They are typically safe to ignore unless you are coding the required features or modules.

Setting up a Rocket.Chat Development Environment on Windows

  • Open the Ubuntu WSL 2 shell and update the distro by running this command.

 sudo apt-get update && sudo apt-get dist-upgrade -y

Kindly check the releases to see the required NodeJS version for Rocket.Chat.

  • Install Meteor with this command:

curl | sh

Occasionally, you might have to install a previous Meteor release. Ensure to verify the required Meteor version for Rocket.Chat from the .meteor/release file.

Alternatively, Install a specific Meteor version using this command replacing x.x with the version number:

curl | sh
  • Install the yarn package manager with this command.

npm install --global yarn
  • Fork the Rocket.Chat repository on GitHub. Open the WSL 2 shell and navigate to /home/yourusername directory. Then, pull the code by running this command:

git clone<your-username>/Rocket.Chat.git

To install Git on Linux, see the official guide.

  • Navigate into the directory and install all the dependencies by running these commands:

cd Rocket.Chat
  • When completed, build and run the server by executing this command:

yarn dsv

The first build can take ten or more minutes, and you may see various warnings or minor errors. Subsequent dev builds will take lesser time.

  • The server will start up on port 3000 and you will see the "Server Running" screen

A successful running server will open up port 3000 on your machine where you can access Rocket.Chat using any browser or the Rocket.Chat client app through http://localhost:3000

Editing Rocket.Chat Files on Windows

On Windows 10, the recommended IDE to use is Visual Studio Code. Install Visual Studio Code from Windows and ensure you install the VS Code extension named Remote - WSL. Optionally, you can install the Windows Terminal extension.

To edit Rocket.Chat files,

  • Open the cloned repository folder on your IDE.

  • When you make changes to Rocket.Chat the server will automatically rebuild.

  • Sometimes changes can shut down the server. If that happens, run yarn dsv again.


Now that your development server is running, you're welcome to contribute to the Rocket.Chat server! See Participate in Rocket.Chat Development to learn more about Rocket.Chat contributions.

Last updated

Rocket.Chat versions receive support for six months after release.