mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
fix(docs): update wsl instructions for pnpm (#49624)
This commit is contained in:
parent
da3ffe2c1b
commit
e08797c2df
@ -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]
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user