CyberPanel Community

CyberPanel node.js version is 12.22 but I want to use 18.17

MT
MJ Thapa #1

CyberPanel node.js version is 12.22 it is unable update the latest version In terminal node.js version is updated 18.17 but on our node.js app get 12, Maybe need to configure somewhere!!?
Screenshot 2023-09-09 192025

5 replies
za
zaku #2

you can use nodeenv from user home to get different version each user

MT
MJ Thapa #3

can you please explain about it more clearly

za
zaku #4

try this

enable ssh access for user
cd /home/domain.com
python3 -m venv .local
source .local/bin/activate
pip install nodeenv
nodeenv --node=18.17.1 .node
source .node/bin/activate
node -v

Wd
Welington da Silva #6

Can you show me how I do this configuration? Send me a photo of the setup?

Sign in to reply