corepack icon indicating copy to clipboard operation
corepack copied to clipboard

Feature request: Add Yarn bin to PATH on Windows

Open gustavodeon opened this issue 3 years ago • 1 comments

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.

gustavodeon avatar Feb 10 '22 04:02 gustavodeon

This would fall outside of Corepack's scope.

arcanis avatar Feb 10 '22 07:02 arcanis