Runtime guide
Installing Node.js
Install Node.js, check npm, install dependencies, and start Node.js products.
Check the runtime#
node --version
npm --versionScarlett and Manager require Node.js 18 or newer. Node.js 20 LTS is recommended for their buyer releases.
Install dependencies#
npm installpackage.json lists the application’s dependencies and startup scripts. npm install creates node_modules. Do not normally upload a node_modules folder created on another operating system; install packages on the target host instead.
Start the application#
npm startUse the direct entry file only when the product guide specifies it. A configured npm start script is preferred because it preserves the startup command selected by the software package.