Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
4.5 KiB

  1. <!doctype html>
  2. <html>
  3. <title>removing-npm</title>
  4. <meta charset="utf-8">
  5. <link rel="stylesheet" type="text/css" href="../../static/style.css">
  6. <link rel="canonical" href="https://www.npmjs.org/doc/misc/removing-npm.html">
  7. <script async=true src="../../static/toc.js"></script>
  8. <body>
  9. <div id="wrapper">
  10. <h1><a href="../cli/npm-removal.html">npm-removal</a></h1> <p>Cleaning the Slate</p>
  11. <h2 id="synopsis">SYNOPSIS</h2>
  12. <p>So sad to see you go.</p>
  13. <pre><code>sudo npm uninstall npm -g</code></pre><p>Or, if that fails, get the npm source code, and do:</p>
  14. <pre><code>sudo make uninstall</code></pre><h2 id="more-severe-uninstalling">More Severe Uninstalling</h2>
  15. <p>Usually, the above instructions are sufficient. That will remove
  16. npm, but leave behind anything you&#39;ve installed.</p>
  17. <p>If that doesn&#39;t work, or if you require more drastic measures,
  18. continue reading.</p>
  19. <p>Note that this is only necessary for globally-installed packages. Local
  20. installs are completely contained within a project&#39;s <code>node_modules</code>
  21. folder. Delete that folder, and everything is gone (unless a package&#39;s
  22. install script is particularly ill-behaved).</p>
  23. <p>This assumes that you installed node and npm in the default place. If
  24. you configured node with a different <code>--prefix</code>, or installed npm with a
  25. different prefix setting, then adjust the paths accordingly, replacing
  26. <code>/usr/local</code> with your install prefix.</p>
  27. <p>To remove everything npm-related manually:</p>
  28. <pre><code>rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/npm*</code></pre><p>If you installed things <em>with</em> npm, then your best bet is to uninstall
  29. them with npm first, and then install them again once you have a
  30. proper install. This can help find any symlinks that are lying
  31. around:</p>
  32. <pre><code>ls -laF /usr/local/{lib/node{,/.npm},bin,share/man} | grep npm</code></pre><p>Prior to version 0.3, npm used shim files for executables and node
  33. modules. To track those down, you can do the following:</p>
  34. <pre><code>find /usr/local/{lib/node,bin} -exec grep -l npm \{\} \; ;</code></pre><p>(This is also in the <a href="../../doc/README.html">README</a> file.)</p>
  35. <h2 id="see-also">SEE ALSO</h2>
  36. <ul>
  37. <li><a href="../../doc/README.html">README</a></li>
  38. <li><a href="../cli/npm-uninstall.html">npm-uninstall(1)</a></li>
  39. <li><a href="../cli/npm-prune.html">npm-prune(1)</a></li>
  40. </ul>
  41. </div>
  42. <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
  43. <tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18>&nbsp;</td></tr>
  44. <tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td colspan=6 style="width:60px;height:10px;background:#fff">&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td></tr>
  45. <tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2>&nbsp;</td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td></tr>
  46. <tr><td style="width:10px;height:10px;background:#fff" rowspan=2>&nbsp;</td></tr>
  47. <tr><td style="width:10px;height:10px;background:#fff">&nbsp;</td></tr>
  48. <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
  49. <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
  50. </table>
  51. <p id="footer">removing-npm &mdash; npm@6.4.1</p>