> ## Content Index
> Fetch the complete content index at: https://ostreff.info/llms.txt
> Use this file to discover other available public pages before exploring further.

# Howto run and update ghost 4.x  on node.js 17.x
- URL: https://ostreff.info/ghost-4-x-running-on-node-17-x/
- Published: 2021-10-29T10:26:17.000Z
- Updated: 2021-11-25T16:13:07.000Z
- Author: Jordan Ostreff
- Tags: FreeBSD

It looks that there is big inconsistency in [FreeBSD ports](https://www.freebsd.org/ports/?ref=ostreff.info) \- related to [python 3.10](https://www.python.org/?ref=ostreff.info) and [node.js](https://nodejs.org/en/?ref=ostreff.info). Currently only node.js 17.x can be build if you have such combination of programming languages on your system. And the greatest news is that ghost 4.x runs on that officially unsupported combination.

To workaround verifications buildin [ghost](https://ghost.org/?ref=ostreff.info) and to made this great CMS to run on unstable and not LTS version of [node.js](https://nodejs.org/en/?ref=ostreff.info) as 17.x branch - you must to modify [ghost-cli](https://ghost.org/docs/ghost-cli/?ref=ostreff.info). It installs file **/usr/local/lib/node\_modules/ghost-cli/package.json** which contains something like:

```bash
"engines": {"node": "^12.22.1 || ^14.17.0 || ^16.13.0 || ^17.0.1"},
```

and then use ghost-cli commands in this way:

```bash
GHOST_NODE_VERSION_CHECK=false ghost check-update
GHOST_NODE_VERSION_CHECK=false ghost update
```

[Here](https://forum.ghost.org/t/ghost-on-freebsd-13-with-python-3-10-node-js-17-0-1/26584/3?ref=ostreff.info) is my communication with official Ghost forum.