PM2 Config Generator

Generate an ecosystem.config.js for PM2 (fork/cluster mode, memory restart, env). Everything is processed on your device, nothing is sent to a server.

or press Ctrl+Enter
Result
Fill the fields and click Generate — the file appears here.

Everything runs in your browser. Your data is never sent to our servers.

728 × 90Ad Space AvailablePlace your ad here

Example

Example Input

app + cluster + 512M

Example Output

ecosystem.config.js

How to Use

  1. 1Fill the fields with your project details (versions, port, options, etc.).
  2. 2Adjust the available choices (e.g. framework, package manager, mode).
  3. 3Click Generate (or press Ctrl+Enter).
  4. 4Copy the file from the output box and save it under the shown filename in your project.

About PM2 Config Generator

PM2 Config Generator builds an ecosystem.config.js for the PM2 process manager: app name, script, instance count, mode (fork/cluster), memory restart limit, and environment variables.

PM2 keeps a Node app running, restarts it on crash, and (in cluster mode) uses multiple CPU cores. Run it with "pm2 start ecosystem.config.js".

FAQ

Is my data sent to a server?

No. Every file is generated in your browser with JavaScript. Nothing is uploaded, logged, or stored on our servers.

Is the output ready to use?

Yes. The output is a valid, ready-to-commit config/deployment file. Always adjust the defaults (port, domain, passwords) for your environment before production.

Related Tools

Related Categories