devwiki:nodejs

This is an old revision of the document!


Intro to Node.js

Portable Node.js

  • like python, you can make it portable,
    1. download zip version (32 bit for best compatible for all machines): https://nodejs.org/en/download/
    2. launch cmd with your custom path bat file (here I include a git as well)
      set path=%PATH%;D:\cutom_app_path_to\node;D:\cutom_app_path_to\PortableGit\bin
      cmd

basic node cmd

  • ctrl+L : clear the node cmd screen
  • .editor : a tmp full editor to run multi-line code
    • ctrl+d : to finish above editor
    • .break : to get out of code in above editor
  • .save : save history to a file
  • .load : load code from a file
  • _ : last stored value

Application Dev Example

  • devwiki/nodejs.1630136287.txt.gz
  • Last modified: 2021/08/28 07:38
  • by ying