--- title: "Node.js on macOS" slug: "prefix-nodejs-on-mac" description: "Install Prefix & Stackify Node.js Profiler to optimize app performance. Configure, enable Prefix, and verify application requests in Prefix. Get started now!" updated: 2021-01-29T22:29:33Z published: 2021-01-29T22:29:33Z canonical: "docs.stackify.com/prefix-nodejs-on-mac" --- > ## 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 on macOS Prerequisites: - [Supported Node.js Technologies](https://docs.stackify.com/docs/supported-nodejs-technologies) *Since Prefix and Retrace share the same modules/profiler, the supported frameworks between the two products will be the same in most cases.* ### 1. Download and install the Prefix installation file: Check out the [Getting Started](https://docs.stackify.com/v1/docs/prefix-getting-started) Prefix page to download and install Prefix on your workstation. ### 2. Get the latest Stackify Node.js Profiler for Prefix: ``` npm install stackify-node-apm --save ``` #### 3. Configure the Application to use the Profiler with Prefix Enabled: - Copy `node_modules/stackify-node-apm/stackify.js` into your application's root directory and modify **Application Name** and **Environment Name**. - Add `prefix_enabled: true`to the **stackify.js** file. ``` /** * Stackify Node APM Configuration */ exports.config = { /** * Your application name. */ application_name: 'Node Application', /** * Your environment name. */ environment_name: 'Production', /** * Enable Prefix. */ prefix_enabled: true } ``` ### 4. Initialize the Profiler: - Add `require('stackify-node-apm')` to the top of your application's main module. ### 5. Verify application requests show up in Prefix