How to run Ghost on the latest version of Node?

From Supported node versions for self-hosted installs of Ghost:

If you want to run Ghost on the latest version of Node, you can, however, we can’t offer support for any issues.

But it doesn’t show how. Below is the log of ghost install local

× Checking system Node.js version - found v21.7.3
(node:22340) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
√ Checking current folder permissions
√ Checking memory availability
√ Checking free space
One or more errors occurred.

1) Checking system Node.js version

Message: The version of Node.js you are using is not supported.
Supported: ^12.22.1 || ^14.17.0 || ^16.13.0 || ^18.0.0 || ^20.11.1
Installed: 21.7.3
See https://ghost.org/docs/faq/node-versions/ for more information

Debug Information:
    OS: Microsoft Windows 11 Home Single Language, v10.0.22631
    Node Version: v21.7.3
    Ghost-CLI Version: 1.26.1
    Environment: development
    Command: 'ghost install local'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

ghost install local --force doesn’t help either.

Read documentation:

--ignore-engines will skip engine (including node) checks

1 Like

I wonder why you don’t see that I’ve already read the docs before asking?

It seems to me that since you are asking a basic question you should not use tools other than those that are available and supported by the software author.