Need advice about which tool to choose?Ask the StackShare community!

forever

62
101
+ 1
0
PM2

451
313
+ 1
23
Add tool

forever vs PM2: What are the differences?

forever: A simple CLI tool. It is a simple CLI tool for ensuring that a given script runs continuously. It is used to keep the server alive even when the server crash/stops. When the server is stopped because of some error, exception, etc.it automatically restarts it; PM2: Ease-to-use Node.js process manager, like forever. Production process manager for Node.js apps with a built-in load balancer.

forever and PM2 can be primarily classified as "Node.js Process Manager" tools.

forever and PM2 are both open source tools. It seems that PM2 with 30K GitHub stars and 2K forks on GitHub has more adoption than forever with 12.5K GitHub stars and 906 GitHub forks.

According to the StackShare community, PM2 has a broader approval, being mentioned in 74 company stacks & 107 developers stacks; compared to forever, which is listed in 3 company stacks and 3 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of forever
Pros of PM2
    Be the first to leave a pro
    • 12
      Reliable
    • 9
      Easy to manage
    • 2
      Easy to use

    Sign up to add or upvote prosMake informed product decisions

    Cons of forever
    Cons of PM2
      Be the first to leave a con
      • 5
        Memory leak

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is forever?

      It is a simple CLI tool for ensuring that a given script runs continuously. It is used to keep the server alive even when the server crash/stops. When the server is stopped because of some error, exception, etc.it automatically restarts it.

      What is PM2?

      Production process manager for Node.js apps with a built-in load balancer

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use forever?
      What companies use PM2?
      See which teams inside your own company are using forever or PM2.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with forever?
      What tools integrate with PM2?
        No integrations found

        Blog Posts

        JavaScriptGitHubNode.js+29
        14
        12308
        What are some alternatives to forever and PM2?
        nodemon
        It is an open source utility that will monitor for any changes in your source and automatically restart your server. It has a default support for node & coffeescript, but easy to run any executable (such as python, make, etc).
        Infinity
        it is a flexible project management tool where you can organize your projects, structure your workflow, create tasklists, store files, make notes, while keeping your team communication in sync. It lets you create your own organization however you want. By giving users flexibility and capacity, Infinity helps teams to create process, track progress and make smarter decisions.
        Supervisord
        It allows its users to monitor and control a number of processes on UNIX-like operating systems. It shares some of the same goals of programs like launchd, daemontools, and runit. it is meant to be used to control processes related to a project or a customer, and is meant to start like any other program at boot time.
        See all alternatives