You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-18Lines changed: 8 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,31 +13,21 @@ own GitHub account and then [clone](https://help.github.com/articles/cloning-a-r
13
13
14
14
### Install Node.js
15
15
16
-
We recommend using Node.js 18. You can check your currently used Node.js version with the following command:
16
+
Use [fnm](https://github.com/Schniz/fnm) or [nvm](https://github.com/nvm-sh/nvm) to run the command below. This will switch to the Node.js version specified in the project's `.nvmrc` file.
17
17
18
18
```bash
19
-
node -v
20
-
```
21
-
22
-
If you do not have Node.js installed in your current environment, you can use [nvm](https://github.com/nvm-sh/nvm) or [fnm](https://github.com/Schniz/fnm) to install it.
23
-
24
-
Here is an example of how to install the Node.js 18 LTS version via nvm:
25
-
26
-
```bash
27
-
# Install the LTS version of Node.js 18
28
-
nvm install 18 --lts
19
+
# with fnm
20
+
fnm use
29
21
30
-
# Make the newly installed Node.js 18 as the default version
31
-
nvm alias default 18
32
-
33
-
# Switch to the newly installed Node.js 18
34
-
nvm use 18
22
+
# with nvm
23
+
nvm use
35
24
```
36
25
37
26
### Install pnpm
38
27
39
-
```sh
40
-
# Enable pnpm with corepack, only available on Node.js >= `v14.19.0`
0 commit comments