Does the command npm update -g n8n updates n8n instance to only n8n@‘digits’ release or to n8n-workflows@‘digits’ releases too?
Current release is [email protected].
I installed it.
Suppose you create new release: [email protected]
I update n8n via command npm update -g n8n
What will happen?
n8n consists of multiple modules (like n8n-nodes-base, n8n-workflow, …) but you do not have to care about those. For you only the n8n module is important which contains all the other ones.
Hey I tried doing this and didn’t work for me, I’m running n8n on CLI and I have been looking for a way of upgrading version for an hour, but I can’t seem to find nothing apart from this comment.
Hm, sorry to hear! Would love to help you but sadly is the issue then totally unrelated to n8n and has rather to do with npm and some issues it seems to be having. If possible I would always advise running n8n with docker.
People which want to run it on Windows are normally just playing around a bit to test n8n. The server setup guide in the docs is for a “proper” installation on a webserver with own subdomain and SSL certificate. That would not work for this case anyway (as the machine needs a static IP address). So for those cases the basic docker instructions on how to start n8n with a tunnel that can be found here should be enough:
I have 0.87.2 running on ubuntu. The current version should be 0.89.2.
If I run:
sudo npm update -g n8n localtunnel
I get no error but my version is still 0.87.2
Is more npm which constantly causes problems. For that reason (and many others) do I always strongly recommend docker. Anyway in this case it is best if you uninstall n8n and then reinstall it again.