What is the "-d" in "npm -d install"?

Solution 1:

It's a shortcut for --loglevel info

See the Shorthands and Other CLI Niceties section:

  • -d: --loglevel info