[{"data":1,"prerenderedAt":64},["ShallowReactive",2],{"repo-unitech-pm2":3,"i18n-unitech-pm2-zh-CN":61},{"mirrorPool":4,"detail":13},[5,9],{"key":6,"label":7,"base":8,"type":6},"github","mirror.github","https:\u002F\u002Fgithub.com\u002F",{"key":10,"label":11,"base":12,"type":10},"auto-proxy","mirror.autoProxy","https:\u002F\u002Fgithub.xxlab.tech\u002F",{"owner":14,"repo":15,"repoId":16,"repoUrl":17,"starCount":18,"language":19,"description":20,"languages":21,"screenshots":27,"homepage":28,"pushedAt":29,"ownerAvatar":30,"ownerName":31,"ownerBio":32,"lastSyncTime":33,"lastReleaseTime":34,"tags":35,"license":45,"category":46,"releases":47,"subgroup":60},"Unitech","pm2",10187082,"https:\u002F\u002Fgithub.com\u002FUnitech\u002Fpm2",43300,"JavaScript","Node.js\u002FTypescript\u002FBun Production Process Manager with a built-in Load Balancer.",{"JavaScript":22,"Shell":23,"Smarty":24,"Go Template":25,"Dockerfile":25,"Python":26,"PowerShell":26,"Makefile":26},87.7,11.8,0.2,0.1,0,[],"https:\u002F\u002Fpm2.keymetrics.io\u002Fdocs\u002Fusage\u002Fquick-start\u002F","2026-09-04","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F757747?v=4","Alexandre Strzelewicz","PM2 Gatekeeper - Keymetrics Founder","2026-09-27T12:58:09.337475+00:00","2017-12-21T17:00:21Z",[36,37,38,39,40,41,42,15,43,44],"command-line","command-line-tool","deploy","load-balancer","monitoring","node","nodejs","process-manager","production","NOASSERTION","tools",[48],{"tag":49,"publishAt":34,"semVer":50,"prerelease":53,"assets":54},"2.9.2-next",[51,52,51],2,9,true,[55],{"fileName":56,"sizeMb":24,"sha256":57,"downloadCount":58,"originUrl":59},"pm2-2.9.2-next.tgz","",46,"https:\u002F\u002Fgithub.com\u002FUnitech\u002Fpm2\u002Freleases\u002Fdownload\u002F2.9.2-next\u002Fpm2-2.9.2-next.tgz","进程管理工具",{"description":62,"readmeHtml":63},"Node.js\u002FBun应用程序的生产进程管理器，内置负载均衡器，可让应用永远保持运行，实现零停机重载。","\u003Ch2 id=\"项目概述\">项目概述\u003C\u002Fh2>\u003Cp>PM2 是Node.js\u002FBun应用程序的生产进程管理器，内置负载均衡器。它能让应用永远保持运行，实现零停机重载，并简化常见的系统管理任务。\u003C\u002Fp>\n\u003Ch2 id=\"主要功能\">主要功能\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>进程管理\u003C\u002Fstrong>：启动、停止、重启和删除应用\u003C\u002Fli>\n\u003Cli>\u003Cstrong>集群模式\u003C\u002Fstrong>：在Node.js中启动多个进程并负载均衡HTTP\u002FTCP\u002FUDP查询，提升多核机器吞吐量\u003C\u002Fli>\n\u003Cli>\u003Cstrong>零停机重载\u003C\u002Fstrong>：无停机地更新应用\u003C\u002Fli>\n\u003Cli>\u003Cstrong>日志管理\u003C\u002Fstrong>：查看、刷新和轮转日志\u003C\u002Fli>\n\u003Cli>\u003Cstrong>终端监控\u003C\u002Fstrong>：从命令行监控所有进程\u003C\u002Fli>\n\u003Cli>\u003Cstrong>容器支持\u003C\u002Fstrong>：使用 \u003Ccode>pm2-runtime\u003C\u002Fcode> 作为 \u003Ccode>node\u003C\u002Fcode> 的替代命令\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"适用人群\">适用人群\u003C\u002Fh2>\u003Cul>\n\u003Cli>Node.js\u002FBun应用开发者\u003C\u002Fli>\n\u003Cli>需要生产环境进程管理的DevOps工程师\u003C\u002Fli>\n\u003Cli>希望实现零停机部署的团队\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"快速上手\">快速上手\u003C\u002Fh2>\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-bash\"># 安装\nnpm install pm2 -g\n# 或使用Bun\nbun install pm2 -g\n\n# 启动应用\npm2 start app.js\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Ch2 id=\"核心优势\">核心优势\u003C\u002Fh2>\u003Cul>\n\u003Cli>经过实战检验的进程管理器\u003C\u002Fli>\n\u003Cli>内置负载均衡器\u003C\u002Fli>\n\u003Cli>支持零停机重载\u003C\u002Fli>\n\u003Cli>支持Linux、macOS和Windows\u003C\u002Fli>\n\u003Cli>支持Node.js 18+和Bun 1+\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"系统要求\">系统要求\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>操作系统\u003C\u002Fstrong>：Linux、macOS、Windows\u003C\u002Fli>\n\u003Cli>\u003Cstrong>支持架构\u003C\u002Fstrong>：未明确列出\u003C\u002Fli>\n\u003Cli>\u003Cstrong>额外依赖\u003C\u002Fstrong>：Node.js 18+ 或 Bun 1+\u003C\u002Fli>\n\u003C\u002Ful>\n",1790699422613]