Node.js
If you need Node.js available within your existing website, which is based on another Type, you can enable Node.js by setting nvm to true:
{
"nvm": true
}
Warning
Use only to enable Node.js within another website type (e.g. Website of Type PHP) for actions like gulp. To run your own Node.js based website, use the Node.js type.
Select Node.js version
By default, the latest Node.js LTS version will be installed, however you can also install and select any other version:
nvm ls-remote
nvm install <version>
nvm alias default <version>
Tip
See the nvm readme for details.
Warning
Using Node.js with nvm provides access to newer versions than those available through Debian. However, this also means that the Node.js version installed via nvm is not managed or updated by Ops One: you are responsible to update Node.js if you want a newer version for feature or security reasons.