From e08797c2df3cd0332587713c86586004007ff7c5 Mon Sep 17 00:00:00 2001 From: Shaun Hamilton Date: Wed, 8 Mar 2023 13:44:54 +0000 Subject: [PATCH] fix(docs): update wsl instructions for pnpm (#49624) --- docs/how-to-setup-freecodecamp-locally.md | 2 +- docs/how-to-setup-wsl.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/how-to-setup-freecodecamp-locally.md b/docs/how-to-setup-freecodecamp-locally.md index 4796deec6f1..677a39fc5ae 100644 --- a/docs/how-to-setup-freecodecamp-locally.md +++ b/docs/how-to-setup-freecodecamp-locally.md @@ -76,7 +76,7 @@ Some community members also develop on Windows natively with Git for Windows (Gi | Prerequisite | Version | Notes | | --------------------------------------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------- | | [Node.js](http://nodejs.org) | `18.x` | We use the "Active LTS" version, See [LTS Schedule](https://nodejs.org/en/about/releases/). | -| [pnpm](https://pnpm.io/installation) | `7.x` |- | +| [pnpm](https://pnpm.io/installation) | `7.x` | - | | [MongoDB Community Server](https://docs.mongodb.com/manual/administration/install-community/) | `4.2.x` | - | > [!ATTENTION] diff --git a/docs/how-to-setup-wsl.md b/docs/how-to-setup-wsl.md index c22f88dabbf..2c9618d8190 100644 --- a/docs/how-to-setup-wsl.md +++ b/docs/how-to-setup-wsl.md @@ -92,7 +92,7 @@ Once you have configured Docker Desktop to work with WSL2, follow these steps to 4. You can now access the service from both Windows or Ubuntu at `mongodb://localhost:27017`. -## Installing Node.js and npm +## Installing Node.js and pnpm We recommend you install the LTS release for Node.js with a node version manager - [nvm](https://github.com/nvm-sh/nvm#installing-and-updating). @@ -112,10 +112,10 @@ nvm install 14 nvm use 12 ``` -Node.js comes bundled with `npm`, you can update to the latest versions of `npm` with: +Node.js comes bundled with `npm`, which you can use to install `pnpm`: ```console -npm install -g npm@latest +npm install -g pnpm ``` ## Set up freeCodeCamp locally