- Download the LTS version from nodejs.org and install it.
- Check it:
node -vandnpm -v - Create
app.jsand run it withnode app.js. - Type
nodealone to open the interactive REPL.
Use node --watch app.js to restart automatically when the file changes.