js>nodejs21之前可以使用pkg,21版本之后支持单个可执行应用程序 https://github.com/vercel/pkg?tab=readme-ov-file https://js>nodejs.org/api/single-executable-applications.html 这样能解决服务器上没有exe的问题了 Windows中使用WinSW工具进行服务的安装