Let's say you're running this command:
npx gulp
npx
will search for gulp
within node_modules/.bin
, and if it doesn't find it there, it will use a central cache. If it is missing, npx
will install it.
How do I clear the central cache to force npx
to reinstall gulp
in this case?
npx gulp@latest
?npx gulp
. After a couple of days I just had to clear the cache manually because it wasn't getting updated.