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

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
posted @ 2022-08-05 21:01  Zhentiw  阅读(16)  评论(0编辑  收藏  举报