yarn icon indicating copy to clipboard operation
yarn copied to clipboard

yarn global should not store packages in ~/.config

Open toupeira opened this issue 6 years ago • 1 comments

What is the current behavior?

yarn global stores packages in ~/.config/yarn/global by default on Linux.

What is the expected behavior?

~/.config is for configuration files, data files should be stored in ~/.local/share (see XDG spec)

One use-case: people backing up ~/.config and wasting space with endless NodeJS modules :)

Please mention your node.js, yarn and operating system version.

yarn 1.7.0

Also see https://github.com/yarnpkg/yarn/issues/2049

toupeira avatar Jun 15 '18 13:06 toupeira

This issue still exists. Any chance it gets fixed?

kingcrunch avatar Nov 05 '23 22:11 kingcrunch