fix(docs): update wsl instructions for pnpm (#49624)

This commit is contained in:
Shaun Hamilton
2023-03-08 19:14:54 +05:30
committed by GitHub
parent da3ffe2c1b
commit e08797c2df
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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]
+3 -3
View File
@@ -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