TIL: How to remove 'npm fund' message

TIL: How to remove 'npm fund' message

As of npm version 6.13.0, npm now displays this message after running npm install:

$ npm install

x packages are looking for funding
  run `npm fund` for details

Supporting the packages powering the JavaScript ecosystem is an important cause. But as others have found, you might not want to see this message every single time you run npm.

To remove it, you could include a --no-fund flag every time you run npm install.

But instead, you can remove it with just one command:

npm config set fund false

Done! This will add fund=false to your ~/.npmrc file (more on the npmrc file) so you shouldn't see the funding message again.

2fwd 1back © 2020 — Published with Ghost & Gatsby