npm update -g does nothing even though I have outdated packages npm update -g does nothing even though I have outdated packages windows windows

npm update -g does nothing even though I have outdated packages


npm -g update has, uh, pretty unexpected behaviour. This might be a suitable workaround:

$ npm -g outdated --parseable=true | cut -d : -f 4 | xargs -n 1 npm -g install