zl程序教程

您现在的位置是:首页 >  后端

当前栏目

[Node.js] Add node.js command line to global

JSNode to Command add line global
2023-09-14 08:59:12 时间

Add to global commands

  1. Add #! /usr/bin/env node to index.js
  2. chmod +x index.js
  3. Run ./index.js to test.
  4. ln -s <full_path_to_index.js_file>/index.js /usr/local/bin/quizme