• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question How can I run node.js and npm from command line?

PeterK900

Basic Pleskian
Server operating system version
AlmaLinux9
Plesk version and microupdate number
18.0.77 Update #2
Node.js manager gives the path to the node and npm executable files - /opt/plesk/node/24/bin/node.

But where do I go to run these files - for example to see the version numbers with node - v and npm -v. and to install applications e.g. npm install [<package-name>]

I sense I might be missinhg something simple, so apolgies!
 
Thanks for responding to my problem. I've followed the instructions in the link but the final command nodenv local 21 gives the error nodenv: version `21' not installed .
Plesk /installer/select_components shows Nodejs support with a green tick but I can't find any details of which versions might be installed.
Thanks for any further help you can give on this.
 
Back
Top