Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 444 Bytes

Node.js.md

File metadata and controls

13 lines (9 loc) · 444 Bytes

Node commands

  1. node -v - current installed version of node.
  2. node - launch the REPL (Node shell)

NPM commands

  1. npm init - create a package.json file
  2. npm -v - current installed version of npm
  3. npm install - install everything from package.json dependencies (if you cloned smth from gitgub for ex)
  4. npm install nameOfThePackage - install a package
  5. npm install nameOfThePackage -D - install a package as dev dependency