Using Node, NPM and NPX
Your server is fully equipped to perform current NodeJS opérations from the command line:
Node
Node is ready to use, it can be invoked via the node command. The version installed on 01/10/2023 is 18.
> node -v
v18.18.2
If you want to use another version of Node, you will find them in the following paths:
/opt/plesk/node/18/bin/node
/opt/plesk/node/20/bin/node
/opt/plesk/node/21/bin/node
Please note that available NodeJS versions on Hosterra servers evolve over time. We systematically remove any old version that is no longer being maintained for security. We add any new version as soon as it is available.
NPM & NPX
NPM and NPX are also ready to use via the npm and npx commands.
> npm -v
10.2.2
Note that the NPM and NPX versions available on Hosterra servers are always the most recent versions.