---
title: "Node.js APM with Linux / Windows"
slug: "nodejs-apm-with-linux-windows"
updated: 2020-02-27T22:16:30Z
published: 2020-02-27T22:16:30Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Node.js APM with Linux / Windows

This document details how to install the **Node.js APM Profiler** in your **Node.js** application running on **Linux** or **Windows**.

## Prerequisite

- **Linux** - Follow the [Retrace Linux Install](/docs/linux-installation) Guide.
- **Windows** - Follow the [Retrace Windows Install](/docs/net-agent-installation-overview) Guide.

## Node.js Profiler Setup

#### Add Stackify APM Module

Add the Stackify APM module to each application to monitor.

```
npm install stackify-node-apm --save
```

#### Configure Application

Copy `node_modules/stackify-node-apm/stackify.js` into your application's root directory and modify **Application Name** and **Environment Name**.

#### Initialize Profiler

Add `require('stackify-node-apm')` to the top of your application's main module.

## Verify

Make application requests, you can then verify results in the Retrace dashboard.
