We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
corepack prepare yarn@stable
1 parent bfaa4a9 commit cfc0daaCopy full SHA for cfc0daa
packages/gatsby/content/getting-started/install.md
@@ -26,12 +26,22 @@ Corepack isn't included with Node.js in versions before the 16.10; to address th
26
npm i -g corepack
27
```
28
29
-## Activate Yarn
+## Updating the global Yarn version
30
+
31
+### Node.js ^16.17 or >=18.6
32
33
```bash
34
corepack prepare yarn@stable --activate
35
36
37
+### Node.js <16.17 or <18.6
38
39
+Take a look at the [latest Yarn release](https://github.com/yarnpkg/berry/releases/latest), note the version number, and run:
40
41
+```bash
42
+corepack prepare yarn@<version> --activate
43
+```
44
45
## Initializing your project
46
47
Just run the following command. It will generate some files inside your current directory; add them all to your next commit, and you'll be done!
0 commit comments