You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,11 @@ Starting an application in production mode is as easy as:
34
34
$ pm2 start app.js
35
35
```
36
36
37
-
PM2 is constantly assailed by [more than 1800 tests](https://github.com/Unitech/pm2/actions/workflows/node.js.yml).
37
+
PM2 is constantly assailed by [a comprehensive test suite](https://github.com/Unitech/pm2/actions/workflows/node.js.yml).
38
38
39
39
Official website: [https://pm2.keymetrics.io/](https://pm2.keymetrics.io/)
40
40
41
-
Works on Linux (stable) & macOS (stable) & Windows (stable). All Node.js versions are supported starting Node.js 18.X and Bun since v1
41
+
Works on Linux, macOS, and Windows. Supports Node.js 18+ and Bun 1+.
42
42
43
43
44
44
## Installing PM2
@@ -54,10 +54,6 @@ $ npm install pm2 -g
54
54
```bash
55
55
$ bun install pm2 -g
56
56
```
57
-
**If Node.js is not installed**, PM2 binaries use `#!/usr/bin/env node` as shebang, so you need to symlink `node` to `bun`:
58
-
```bash
59
-
$ sudo ln -s $(which bun) /usr/local/bin/node
60
-
```
61
57
62
58
___
63
59
@@ -109,9 +105,9 @@ $ pm2 monit
109
105
110
106
### Cluster Mode: Node.js Load Balancing & Zero Downtime Reload
111
107
112
-
The Cluster mode is a special mode when starting a Node.js application, it starts multiple processes and load-balance HTTP/TCP/UDP queries between them. This increase overall performance (by a factor of x10 on 16 cores machines) and reliability (faster socket re-balancing in case of unhandled errors).
108
+
Cluster mode starts multiple Node.js processes and load-balances HTTP/TCP/UDP queries between them. This significantly increases throughput on multi-core machines and improves reliability (faster socket re-balancing in case of unhandled errors).
0 commit comments