[Node.js] Add node.js command line to global
Add to global commands
- Add
#! /usr/bin/env node
toindex.js
chmod +x index.js
- Run
./index.js
to test. ln -s <full_path_to_index.js_file>/index.js /usr/local/bin/quizme
#! /usr/bin/env node
to index.js
chmod +x index.js
./index.js
to test.ln -s <full_path_to_index.js_file>/index.js /usr/local/bin/quizme