diff --git a/docs/how-to-setup-freecodecamp-locally.md b/docs/how-to-setup-freecodecamp-locally.md index 585384c964..2132b50aa8 100644 --- a/docs/how-to-setup-freecodecamp-locally.md +++ b/docs/how-to-setup-freecodecamp-locally.md @@ -25,7 +25,7 @@ Some community members also develop on Windows 10 natively with Git for Windows | ----------------------------- | ------- | -------------------------------------------------------------------- | | [Node.js](http://nodejs.org) | `14.x` | [LTS Schedule](https://github.com/nodejs/Release#release-schedule) | | npm (comes bundled with Node) | `6.x` | Does not have LTS releases, we use the version bundled with Node LTS | -| [MongoDB Community Server](https://docs.mongodb.com/manual/administration/install-community/) | `3.6` | [Release Notes](https://docs.mongodb.com/manual/release-notes/), Note: We are currently on `3.6`, an [upgrade is planned](https://github.com/freeCodeCamp/freeCodeCamp/issues/18275). | +| [MongoDB Community Server](https://docs.mongodb.com/manual/administration/install-community/) | `4.0.x` | [Release Notes](https://docs.mongodb.com/v4.0/release-notes/) | > [!DANGER] > If you have a different version, please install the recommended version. We can only support installation issues for recommended versions. See [troubleshooting](#troubleshooting) for details. diff --git a/docs/how-to-setup-wsl.md b/docs/how-to-setup-wsl.md index c03eaec40d..6145d4a4ce 100644 --- a/docs/how-to-setup-wsl.md +++ b/docs/how-to-setup-wsl.md @@ -69,10 +69,10 @@ Once you have configured Docker Desktop to work with WSL2, follow these steps to 1. Launch a new Ubuntu-18.04 terminal -2. Pull `MongoDB 3.6` from dockerhub +2. Pull `MongoDB 4.0.x` from dockerhub ```console - docker pull mongo:3 + docker pull mongo:4.0 ``` 3. Start the MongoDB service at port `27017`, and configure it to run automatically on system restarts @@ -83,7 +83,7 @@ Once you have configured Docker Desktop to work with WSL2, follow these steps to -p 27017:27017 \ --name mongodb \ --restart unless-stopped \ - -d mongo:3 + -d mongo:4.0 ``` 4. You can now access the service from both Windows or Ubuntu at `mongodb://localhost:27017`.