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:
Custom JSON Website Level Configuration
{
"nvm": true
}
Warning
Use only to enable Node.js within another website type for actions like gulp. To run your own Node.js based website, use the Node.js type.
By default, the latest Node.js LTS version will be installed, however you can also install and select any other version:
SSH Session
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.