How to run nodejs on android?

running nodejs on the go in android

Cris Fandino Jr. on Jan 25, 2021

NodeJS in android ? 😱

Follow the steps below:

  • Obviously , you need an android phone
  • Download Termux on playstore
  • After you download it follow the steps below

Type

$ apt update && pkg upgrade

type Y if there is [y/n] choices

After updating the packages.

$ pkg install nodejs-lts

I recommend the latest version cause its far more stable

After NodeJS is installed

Check the version of node to validate if the nodejs is succesfully installed

$ node -v
v12.13.1