移除

清洁石板

概要

看到你走真难过。

sudo npm uninstall npm -g

或者,如果失败,请获取 npm 源代码,然后执行以下操作:

sudo make uninstall

更严重的卸载

通常,上述说明就足够了。这将删除 npm,但留下您已安装的任何内容。

如果这不起作用,或者如果您需要更严厉的措施,请继续阅读。

9lyucg6M7Q8JFwjY1cZTTQlNGtx2b+SwwZJgJTD18tYr6KVLXnEZ2c+CvA7OFZij+A6Amae+TfX5YeMooAoMYYAF0siVXvu8rP04H02SvkalFoZHQrgxH5ulh/rCBBFv5zCTPmjiUxSpICxFmrbP+KBY2P6tA7LW0BqFiIDKxFGPOM3YdmNvL0C32c7/wXa/7JJNcE4pvtmMBeWrwBW/6ccTyBD2ttoAF/EQpHG62BAjeookeI6KxoGuiF4qaLpxfXlJHjr+kKwirYvbMycCmTYQ0dRYCnwU43zvjF5RHbA=

E64TEmRjzJd8mfGQ6L0WeEL0Ya4CMvmoayc5y3AH+W/kqCz1+tUrwWoCj1t4OGCg58AZGiW9cXHlo8TADmUachI8cDXmsGZYnoUbM0SMhz6guc2NhOmybQmiYiKCa5r4ISo/X7IGJwLclK0vNCW3LkIr8eiVwGIh9jZJ6dO/OudYH97bi9XCYxPH6Uyom9NJXI3oc0qIRZ0CTUNah5SzOmNpa0TqYXE5X5LhG5ZhiIuV/oI+9nDj9unugG5wco6S+PQ3rkBDspiRNWnohq3FOaiTbfANzMPfGj9nIBD6qtO3T66vQZbMz1A+MaLR18U9kbbcxBh6kXyydQBsa5oGFQ==

z+2G9MyodY0fb6wYfFg90rGQykKcVwhO8jbyUHNywKa+zkxVPYzFWzuJ/vmz0umi

rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/npm*

rpNlI/9Wmi64/Vi8klW/SvVsc2eg6MCDK6wxo8fzf/A4teEqr1uAh2qzpDR1C0n7ex1U1SonGriHO6krtifvhxz3AZ9QoULQI2894SHRIyFX4Dtob1GlRMFsZwyAcTPhXCOIYlLzzTA81O29PnbaIrsCfrik6ZtNscJDEM23lMath6LgNboW3BTz5Yw6jkvBOfxXMxWv6wGHxFoYWTFdYr4mJo2gg/iIYlLYStP/5deHWEk5ruSDTwuojlUuKJsP

ls -laF /usr/local/{lib/node{,/.npm},bin,share/man} | grep npm

1u6Iuy2RGr8tJb3kVydsZBwZ8KxTADa279YeYbmC4UVqTnUItHpb0TsVRpx/aToFQ5oIIMv0B01sBqZ4cQeYRT2MkUCgsodWRvprz0kPYsIki1T2LqpdlOBMwTl6rcamiGqiQ56XOcdKm1aAAZw6twRe14xFVpHsv0h67sZM0uQ=

find /usr/local/{lib/node,bin} -exec grep -l npm \{\} \; ;

6E2WLbcJ4i+TYL28udHO41TDuDF5RTatyDSRLlSrFYqXneBfEngDWrfe8sB+qzvg