User Tools

Site Tools


programs:windows:nodejs_npm

This is an old revision of the document!


Information

  • Node.js
  • npm

Node.js

Latest

Install Options

  • [x] Node.js runtime
  • [ ] corepack manager
  • [x] npm package manager
  • [ ] Online documentation shortcuts
  • [~] Add to PATH
    • [x] Node.js and npm
    • [ ] npm modules
  • [ ] Automatically install the necessary tools.

Joomla

  • [x] Add to PATH
    • [x] Node.js and npm
    • [x] npm modules

Examples

Prefix

"%ProgramFiles%\nodejs\node.exe" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js" --prefix "%UserProfile%\Projects\LostCity-225-EngineTS\src" run "setup"

Initial

  • --prefix can't be used for initial install (prefix needs created first)
CD "%UserProfile%\Projects\LostCity-225-EngineTS\src" && "%ProgramFiles%\nodejs\node.exe" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js" install

Env File

"%ProgramFiles%\nodejs\node.exe" --env-file="%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js" --prefix "%UserProfile%\Projects\LostCity-225-EngineTS\src" run "quickstart"
C:/www/wiki/data/attic/programs/windows/nodejs_npm.1754445481.txt.gz · Last modified: by Sean Rhone