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: README.md
+3-18
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Corepack is a zero-runtime-dependency Node.js script that acts as a bridge betwe
8
8
9
9
### Default Installs
10
10
11
-
Corepack isn't intended to be installed manually. While it's certainly possible, we're working with the Node.js TSC to provide Corepack by default starting from Node.js 15, thus ensuring that all package managers can be used with little to no friction.
11
+
Corepack is distributed by default with Node.js 16.9, but is opt-in for the time being. Run `corepack enable`to install the required shims.
12
12
13
13
### Manual Installs
14
14
@@ -30,22 +30,7 @@ Then install Corepack:
30
30
npm install -g corepack
31
31
```
32
32
33
-
We do acknowledge the irony and overhead of using npm to install Corepack, which is at least part of why the preferred option is to use the Corepack version that will be distributed along with Node.js itself.
34
-
35
-
</details>
36
-
37
-
### Prebuilt Binaries
38
-
39
-
<details>
40
-
<summary>Click here to see how to download prebuilt Corepack Node.js distributions</summary>
41
-
42
-
We have a few prebuilt Node.js binaries (based on the [following branch](https://github.com/arcanis/node/tree/mael/pmm)) that you can just download, unpack somewhere, and add to your `PATH` environment variable.
43
-
44
-
1. Go to [this page](https://github.com/arcanis/pmm/actions?query=workflow%3ABuild)
45
-
2. Open the latest build (the one at the top)
46
-
3. Download the right artifact (Linux or Darwin)
47
-
4. Unzip the artifact, then untar it
48
-
5. Add the `node-v15.0.0-nightlyYYYY-MM-DDXXXX-linux-x64/bin` directory to your `$PATH`
33
+
We do acknowledge the irony and overhead of using npm to install Corepack, which is at least part of why the preferred option is to use the Corepack version that is distributed along with Node.js itself.
49
34
50
35
</details>
51
36
@@ -119,7 +104,7 @@ This command will retrieve the given package manager from the specified archive
119
104
120
105
## Environment Variables
121
106
122
-
-`COREPACK_ENABLED` has no functional impact on Corepack itself; it's automatically being set in your environment by Corepack when it shells out to the underlying package managers, so that they can feature-detect its presence (useful for commands like `yarn init`).
107
+
-`COREPACK_ROOT` has no functional impact on Corepack itself; it's automatically being set in your environment by Corepack when it shells out to the underlying package managers, so that they can feature-detect its presence (useful for commands like `yarn init`).
0 commit comments