LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

npm-root

prints the node_modules directory path

TLDR

Show local node_modules path
$ npm root
copy
Show global node_modules path
$ npm root -g
copy

SYNOPSIS

npm root [options]

DESCRIPTION

npm root prints the node_modules directory path. Shows where packages are installed.The command displays module location. Useful for scripts and debugging.

PARAMETERS

-g

Global node_modules.
--help
Display help information.

INSTALL

sudo pacman -S npm
copy
sudo apk add npm
copy
brew install npm
copy

CAVEATS

Local shows project node_modules. Global shows system path.

HISTORY

npm root helps locate node_modules directories for package management.

SEE ALSO

npm(1), npm-prefix(1), npm-bin(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid