Update Node (Digital Ocean)

Hello, i’m getting the same error, but i’m NOT on digitalocean

...
warning ghost@2.33.0: The engine "cli" appears to be invalid.
error csv-parser@2.3.1: The engine "node" is incompatible with this module. Expected version ">= 8.16.0". Got "8.15.1"
error Found incompatible module.

Which is the correct procedure to update node to the recommended version and update ghost without going offline? Thanks

EDIT:
Nevermind, i found this:

Upgrade Node.js

When upgrading Node.js, you need to run the upgrade for Node and then also re-install Ghost’s dependencies. This is because Ghost has several binary dependencies which are compiled for the specific Node.js version. Without reinstalling dependencies, Ghost will fail to start with strange error messages.

To upgrade the steps are:

  1. curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - update your source list with the version of Node.js you want to upgrade to.
  2. sudo apt-get install -y nodejs - upgrade Node/ks
  3. ghost update --force - force Ghost to update even if there are no new versions of Ghost, to trigger a re-install of dependencies.