控制台运行nodejs程序

1、控制台切换到文件所在位置

2、输入node + 空格 +文件名.js

原文地址:https://www.cnblogs.com/sylys/p/12298444.html