Install Node, manage versions, and run your first file.
- download the LTS version from nodejs.org, or use a version manager (nvm)
node -vandnpm -vconfirm the installnvm install 20 && nvm use 20to switch versions- run a file:
node app.js
See examples/.
Install Node 20 with nvm and print your version.