The problem:
sometimes I run
npm install x@latest
but it doesn't actually pull the latest version of the package (that is lame).
However, if I do:
npm cache clean --force && npm install x@latest
it will pull the latest
but I actually would rather avoid deleting the whole cache and just delete the cache for a single package, e.g.:
npm cache clean x --force
but that doesn't seem to be allowed. Anyone know a good workaround?
perhaps simply:
rm -rf $HOME/.npm/x
?