npm-bin.1 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .TH "NPM\-BIN" "1" "October 2021" "" ""
  2. .SH "NAME"
  3. \fBnpm-bin\fR \- Display npm bin folder
  4. .SS Synopsis
  5. .P
  6. .RS 2
  7. .nf
  8. npm bin [\-g|\-\-global]
  9. .fi
  10. .RE
  11. .P
  12. Note: This command is unaware of workspaces\.
  13. .SS Description
  14. .P
  15. Print the folder where npm will install executables\.
  16. .SS Configuration
  17. <!\-\- AUTOGENERATED CONFIG DESCRIPTIONS START \-\->
  18. <!\-\- automatically generated, do not edit manually \-\->
  19. <!\-\- see lib/utils/config/definitions\.js \-\->
  20. .SS \fBglobal\fP
  21. .RS 0
  22. .IP \(bu 2
  23. Default: false
  24. .IP \(bu 2
  25. Type: Boolean
  26. .RE
  27. .P
  28. Operates in "global" mode, so that packages are installed into the \fBprefix\fP
  29. folder instead of the current working directory\. See
  30. npm help folders for more on the differences in behavior\.
  31. .RS 0
  32. .IP \(bu 2
  33. packages are installed into the \fB{prefix}/lib/node_modules\fP folder, instead
  34. of the current working directory\.
  35. .IP \(bu 2
  36. bin files are linked to \fB{prefix}/bin\fP
  37. .IP \(bu 2
  38. man pages are linked to \fB{prefix}/share/man\fP
  39. .RE
  40. <!\-\- automatically generated, do not edit manually \-\->
  41. <!\-\- see lib/utils/config/definitions\.js \-\->
  42. <!\-\- AUTOGENERATED CONFIG DESCRIPTIONS END \-\->
  43. .SS See Also
  44. .RS 0
  45. .IP \(bu 2
  46. npm help prefix
  47. .IP \(bu 2
  48. npm help root
  49. .IP \(bu 2
  50. npm help folders
  51. .IP \(bu 2
  52. npm help config
  53. .IP \(bu 2
  54. npm help npmrc
  55. .RE