Skip to docs content

scpm root

  • Usage: scpm root [-g --global]

Print the path to node_modules

Flags

-g --global

Print the global package directory instead of the project's

Examples:

$ scpm root /home/user/project/node_modules

$ scpm root -g /home/user/.local/share/scpm/global/node_modules