• EnglishEspañol日本語한국어Português
  • Log inStart now

Uninstall the Node.js agent

Read on to learn how to uninstall the New Relic Node.js agent. For instructions on how to temporarily disable the agent, see Disable the agent.

To uninstall the New Relic Node.js agent:

  1. Remove require('newrelic'); as the first line of the app's main module.
  2. Remove the npm package with npm uninstall newrelic --save.
  3. Delete the newrelic.js file and unset any environment variables being used.
  4. When the uninstall process finishes, restart your app.

For more information about installation, see Installing and maintaining Node.js.


You may also want to remove your app from New Relic.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.