hello everyone,
how do i update n8n in a specific folder? i installed n8n not as global but in a specific subdirectory so npm -g install n8n doesn’t update me. my n8n is in / public_html / node_modules
Hey @marconte!
Is n8n globally installed on your machine? If yes, you can refer to the solution here: npm install - How to update globally installed npm packages - Stack Overflow
If you don’t have n8n installed globally, you can refer to the solutions mentioned here: node.js - npm check and update package if needed - Stack Overflow
1 Like
thank you very much
i have try by
npm install --prefix /home/mysite/public_html/ n8n
and when restart pm2 version is 0.117 its ok?
Hey @marconte,
I would suggest you take a look at the PM2 documentation, since you’re using n8n as an npm package, a solution mentioned there should work for you