1,vim 创建相应的文件 vim test 2,输入内容 node app.js 3,保存,这时生成的是文本文件。 4,chmod 777 test 查看该文件就转化成可执行文件了。 ./test 就可以运行了。。 相关文章: 2022-12-23 2021-06-25 2022-12-23