Skip to content

Commit 66e371a

Browse files
committed
Add a few more examples
1 parent 4edc5e0 commit 66e371a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

sources/commands/Use.ts

+8-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@ export class UseCommand extends BaseCommand {
1515
automatically perform an install.
1616
`,
1717
examples: [[
18-
`Configure the project to use the latest Yarn release`,
19-
`corepack use 'yarn@*'`,
18+
`Configure the project to use the latest pnpm release`,
19+
`corepack use pnpm`,
20+
], [
21+
`Use a tagged version`,
22+
`corepack use yarn@stable`,
23+
], [
24+
`Use a partial version number`,
25+
`corepack use 'yarn@3'`,
2026
]],
2127
});
2228

0 commit comments

Comments
 (0)