You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
After changing Node version, I want to reinstall all my globally installed Yarn packages.
To do this, currently I have to reinstall each package by running yarn global remove and then yarn global add.
Ideally, there would be a command to do this for me, for all currently/previously installed global packages, i.e. those specified in ~/.config/yarn/global/package.json.
Perhaps we could use a yarn global install command to do this? Or is there another, pre-existing solution to this problem? I tried searching to no avail.
Do you want to request a feature or report a bug?
Possibly a feature request
What is the current behavior?
After changing Node version, I want to reinstall all my globally installed Yarn packages.
To do this, currently I have to reinstall each package by running
yarn global remove
and thenyarn global add
.Ideally, there would be a command to do this for me, for all currently/previously installed global packages, i.e. those specified in
~/.config/yarn/global/package.json
.Perhaps we could use a
yarn global install
command to do this? Or is there another, pre-existing solution to this problem? I tried searching to no avail.Note that
nvm
handles reinstalling global Node modules when installing a new version of Node: https://github.com/creationix/nvm#migrating-global-packages-while-installing. However, this doesn't seem to play well with global Node modules installed via Yarn: nvm-sh/nvm#1601 and nvm-sh/nvm#1601 (comment).The text was updated successfully, but these errors were encountered: