How do I update self-hosted n8n

please how do I update my self hosted n8n

npm install / docker?

you should have a look at the official docs for this:

thanks so much, I logged into my hostiger dashboard and updated it there. thanks