Feature request: Add Yarn bin to PATH on Windows
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.8k
- Forks
- 279
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
Right out of the gate, this is my first interaction on a public repository, so feel free to throw some feedback at me.
Basically i would like for corepack to automatically add the yarn's bin directory to path, so globally installed packages can be used from PowerShell | cmd without any hassle.
This is not a behavior on windows, can't test on different OS right now.
Perhaps when the corepack enable command is used this action could be triggered, so it doesn't make any unnecessary changes for those not using corepack.
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 at the corepack enable command and investigate how it handles Windows setup for PowerShell and cmd. Done means the Yarn bin directory is added to PATH when corepack enable is used, allowing globally installed packages to run on Windows without changing systems that do not use Corepack.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- cli, developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100