例如,我先用npm cache ls查看当前缓存的内容: 然后执行npm cache clean --force 来清除npm的缓存: 再用npm cache ls查看当前缓存的内容,发现缓存确实已经被清掉了: