`corepack npm` and other package managers are not shown in help text
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.8k
- Forks
- 279
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
Calling corepack or corepack --help shows help for e.g. corepack install, but does not suggest the shimless aliases, namely:
corepack npm,corepack npxcorepack pnpm,corepack pnpxcorepack yarn,corepack yarnpkg
These are also not suggested as typo corrections:
corepack np
Unknown Syntax Error: Command not found; did you mean one of:
- corepack -h
- corepack -v
- corepack disable [--install-directory #0] ...
- corepack enable [--install-directory #0] ...
- corepack install <-g,--global> [--all] [--cache-only] ...
- corepack install
- corepack pack [--all] [--json] [-o,--output #0] ...
- corepack up
- corepack use
- corepack hydrate [--activate]
- corepack prepare [--activate] [--all] [--json] [-o,--output] ...
While running np
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the corepack CLI help output and its unknown-command suggestion path. Add the listed npm, npx, pnpm, pnpx, yarn, and yarnpkg aliases to both places, then verify that corepack --help displays them and corepack np suggests the expected commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli, developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100