Member-only story
How to Disable the “Packages Are Looking for Funding” Message in NPM
2 min readDec 15, 2024
Disabling the Message Globally
If you frequently encounter the “packages are looking for funding” message while using NPM (Node Package Manager) and want to disable it entirely, you can do so globally by running the following command in your terminal:
npm config set fund false
Disabling the Message for a Specific Project
To suppress the funding messages for a particular project only, you can configure this setting within that project’s .npmrc
file:
- Navigate to the root directory of your project.
- Create or modify the existing
.npmrc
file. - Add the following line to the file:
fund=false
Temporarily Disabling the Message
If you prefer to temporarily disable funding messages while running specific commands without changing your configuration, use the --no-fund
option. For example:
npm install --no-fund
This option works with several other NPM commands, including npm update
. It does not alter any permanent configuration settings.