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

This commit is contained in:
Shaun Hamilton 2023-03-08 13:44:54 +00:00 committed by GitHub
parent da3ffe2c1b
commit e08797c2df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

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]

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