A feasible solution to "upgrade" Node.js to v18.15.0
Update：after upgrade the NodeJs v18 package,the homebridge shows it uses v18.15.0



First of all, you need to log in to Synology with the root account SSH, and then switch the directory to /var/packages/homebridge/target/app

`cd /var/packages/homebridge/target/app`

Then back up and edit the source.sh file.

`cp source.sh source.sh.bak`

`vi source.sh`

Modify two positions

NODE_BIN_PATH modified to
`NODE_BIN_PATH=”/var/packages/Node.js_v18/target/usr/local/bin“`

export HB_NODE_EXEC_PATH modified to `export HB_SERVICE_NODE_EXEC_PATH=”/var/packages/Node.js_v18/target/usr/local/bin/node“`

Just save it and restart the package.
![image](https://user-images.githubusercontent.com/2242315/229659805-0097d125-cd2d-4898-8a0d-a80d3e9df0a4.jpeg)
![image](https://user-images.githubusercontent.com/2242315/229659833-ad444422-00a5-49f5-8cda-cc8ceb8f4b89.jpeg)
---