# forever: 2.6 out of 10

Do not start with it. 10th of 10 in [Script runners and process managers](https://elestia.ai/opensource/script-runners/index.md).

forever is an old CLI that restarts a Node.js script when it crashes. Its own README tells new users to pick PM2 or nodemon. It has had no commits since May 2023 and no npm release since January 2022. Keep it only where it already runs. For new work, use PM2 to keep a process running and tsx or nodemon to run TypeScript and restart on changes.

**Best for:** Teams with legacy servers that already run forever and only need it to keep working until they migrate.

## Scores

- **Overall: 2.6** (likely 1.6 to 3.6)
  - Claude Opus 5.5 (2.0): forever is unmaintained in practice, and its own README recommends PM2 or nodemon. It does not run TypeScript and lacks basic production features. Keep it only where it already runs, and choose PM2, tsx or nodemon for new work.
  - GPT-6.2 Sol (3.2): Forever still covers the basics for an existing JavaScript daemon, but years without an npm release make it a weak choice for new work. PM2 provides maintained crash recovery and file watching with more restart controls, and tsx is a better fit for running TypeScript during development. The range reflects some remaining value in simple setups and limited evidence of compatibility with current runtimes.
- **Needed by many: 4.2** (likely 3.1 to 5.4)
  - Claude Opus 5.5 (4.0): Keeping a Node process alive in production is a real need, but containers, systemd and PM2 now cover most of it. forever only does that one part of the category's job. It has no TypeScript running and weak dev-reload features, so it serves fewer developers than the category as a whole.
  - GPT-6.2 Sol (4.4): Running TypeScript scripts and reloading them on edits is relevant to many developers. Forever's strongest fit is the smaller group that also needs to supervise a long-running process on a host. The survey measures TypeScript use, so the share that needs this kind of supervision is an estimate.
- **Helps a lot: 3.8** (likely 2.7 to 4.9)
  - Claude Opus 5.5 (3.0): It restarts crashed scripts and has basic logging and a list/stop CLI, and that still works for simple cases. It lacks clustering, log rotation, health checks, startup scripts, types and native TypeScript running. PM2 does the same job clearly better, and tsx or nodemon cover running and reloading.
  - GPT-6.2 Sol (4.5): Version 4.0.3 covers basic crash recovery, file watching, and background logging. It delegates TypeScript execution to Node.js or a separate runner, while tsx handles TypeScript execution and watch mode together. Users report persistent warnings, and independent benchmarks cover the TypeScript runners more closely than forever itself.
- **Holds up over time: 1.2** (likely 0.3 to 2.2)
  - Claude Opus 5.5 (1.0): There have been zero commits and zero releases in the last year, and the last push was in May 2023. The README says the project fully depends on the community and points new users to PM2 or nodemon. It is not formally archived or deprecated, which keeps the score just above zero.
  - GPT-6.2 Sol (1.4): The last npm release was in January 2022, and the repository recorded zero commits in the past year. The README says fixes depend on community contributions and directs new installations to PM2 or nodemon. The release history and the project's own guidance give little reason to expect regular compatibility fixes.
- **Used widely: 3.7** (likely 2.6 to 4.7)
  - Claude Opus 5.5 (3.0): It gets about 796k downloads every 4 weeks and has about 21,000 dependent repositories, mostly old codebases. Its growth ratio is 1.33, far below the median of 4.1, so it is losing share fast. Peers such as PM2 (16M downloads) and nodemon (68M) dwarf it, and it gets no attention on Hacker News or Bluesky.
  - GPT-6.2 Sol (4.3): ecosyste.ms found 21,028 dependent repositories and 702 dependent packages, putting forever close to PM2 on indexed repositories. Downloads grew from about 600,000 to 796,000 over the comparable four-week periods, a 1.33× ratio against the catalog median of 4.1×, which signals lost ground. Automated installs and global CLI use make the number of projects choosing it today harder to estimate.
- **Vouched for: 2.8** (likely 1.6 to 4.0)
  - Claude Opus 5.5 (2.0): No current production endorsements or framework integrations turned up. The independent write-ups I read advise against it for new projects. Its 13.8k stars mostly reflect its early-2010s popularity.
  - GPT-6.2 Sol (3.5): Oracle lists forever 4.0.1 in its CX Commerce third-party notices, and developers report keeping existing deployments running. The newer public evidence is mostly individual reports, so there is limited independent confirmation of how well 4.0.3 serves modern TypeScript projects.
- **Safe: 3.6** (likely 2.5 to 5.3)
  - Claude Opus 5.5 (4.0): The package has no known advisories and an MIT licence. But it pulls in 14 runtime dependencies that have not been updated since 2022. The Scorecard is 2.5, with no branch protection, no security policy and no maintainer activity. If a vulnerability appears, no one is likely to ship a fix.
  - GPT-6.2 Sol (3.2): Forever uses the permissive MIT license, and OSV lists zero advisories for the package itself. Its 14 direct dependencies pull in older packages with published advisories, including dependencies used for file watching. OpenSSF Scorecard gives it 2.5 out of 10, with zeroes for maintenance, branch protection, and security policy. Release signing and exposure to the dependency issues in a given deployment remain uncertain.

## Good

- Very simple CLI: `forever start app.js` keeps a script alive with almost no setup.
- MIT licence, so it is easier to accept than PM2's AGPL-3.0.
- No published security advisories against the package itself.
- Still installed widely: about 21,000 dependent repositories and 800k downloads every 4 weeks.

## Bad

- No commits since May 2023, and its own README sends new users to PM2 or nodemon.
- No TypeScript support and no bundled types: you must wrap a loader such as tsx yourself.
- No cluster mode, no log rotation and no built-in startup-on-boot, all of which PM2 has.
- OpenSSF Scorecard of 2.5, 319 open issues and 14 ageing runtime dependencies.

## The numbers

- Downloads, 4 weeks: 796k
- In a year: +33%
- GitHub stars: 14k
- Commits, 12 months: 0
- Last npm release: Jan 2022
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/foreversd/forever
- npm: https://www.npmjs.com/package/forever

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
