在 Node.js 中使用 spawn 创建桌面快捷方式的方法如下: 首先,需要安装 Node.js 的 child_process 模块,可以使用以下命令进行安装: npminstall child_process