node
Installs Node.js using NVM (Node Version Manager).
Use it on boxctl
- On the dashboard, pick node in the Template picker and click Boot box.
- The box boots, then runs
node/node.shon itself. The button reads Booting… until the script has finished. - Open the box's Terminal and follow the guide below. The box's row keeps a link back to this page under the template's name.
The guide is shared with the onctl CLI, so it starts from an onctl up -a node/node.sh command. Booting a box with this template replaces that command; everything the guide runs on the VM itself applies as written.
Node.js with NVM
Install Node.js using NVM and include PM2 for process management:
onctl up -n node -a node/node.sh
The script installs NVM, downloads Node.js v22, verifies npm, and adds the global pm2 utility.
See the template's source for exactly what it runs.