Anyway I think you can install nodejs package on termux using pkg install nodejs which will install node and npm on your device. Then check the version using npm -v .
Read moreCan you run node js in terminal?
You can run JavaScript console in terminal or any command-line interface using Node. js, an open-source, platform-agnostic runtime that executes JavaScript outside a web browser.
Read moreCan I run JavaScript on Termux?
Follow these steps to run TypeScript in Termux.
Read more