# Install the Node.js agent

There are several ways to install the agent depending on your situation, but generally, this is the process:

1. Get the Node.js agent from npm.

2. Add a command to the package.json file to enable your application to run with the agent.

3. Run your application with the agent.

4. Use your application as you normally would and verify that Contrast sees the application.

To avoid errors, follow these specific instructions depending on how your application is deployed: