Skip to content
Permalink
Browse files
doc: mention corepack prepare supports tag or range
`corepack prepare pnpm@latest --activate` is a useful alternative to
`corepack prepare pnpm@x.y.z --activate`.

PR-URL: #44646
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
  • Loading branch information
mrienstra authored and danielleadams committed Oct 11, 2022
1 parent 11d1c23 commit 8c69da893b4226a24193d5ee6ae9fe598f62db97
Showing 1 changed file with 7 additions and 0 deletions.
@@ -64,6 +64,13 @@ package manager version you wish to set:
corepack prepare yarn@x.y.z --activate
```

Alternately, a tag or range may be used:

```bash
corepack prepare pnpm@latest --activate
corepack prepare yarn@stable --activate
```

### Offline workflow

Many production environments don't have network access. Since Corepack

0 comments on commit 8c69da8

Please sign in to comment.