I've seen some posts that refer to running npm
with a -d
argument. For example, this issue refers to doing npm -d install coffee-script
. There are a few other pages that also refer to this syntax, including the install instructions for at least one npm package.
But I've been unable to find any documentation for this -d
argument. The docs for npm install
make no mention of -d
, nor does the npm FAQ, nor do any of the other documentation pages I've looked through.
Does the -d
option do anything? If so, what?
It's a shortcut for --loglevel info
See the Shorthands and Other CLI Niceties section:
-d
:--loglevel info
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With