
TIL: How to remove "npm fund" message
12 nov 2020 | javascript | npm | til
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.