yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.44k stars 2.73k forks source link

yarn global should not store packages in ~/.config #5996

Open toupeira opened 6 years ago

toupeira commented 6 years ago

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

kingcrunch commented 1 year ago

This issue still exists. Any chance it gets fixed?