Skip to content

Commit a904190

Browse files
authored
Update README.md (#61)
1 parent 328ee1f commit a904190

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

README.md

+3-18
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Corepack is a zero-runtime-dependency Node.js script that acts as a bridge betwe
88

99
### Default Installs
1010

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.
1212

1313
### Manual Installs
1414

@@ -30,22 +30,7 @@ Then install Corepack:
3030
npm install -g corepack
3131
```
3232

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.
4934

5035
</details>
5136

@@ -119,7 +104,7 @@ This command will retrieve the given package manager from the specified archive
119104

120105
## Environment Variables
121106

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`).
123108

124109
## Contributing
125110

0 commit comments

Comments
 (0)