Try   HackMD

Nodejs and Android

Install Linux CLI in Android

  • Download the App called Termux
  • Run these initial commands one by one to update the latest utils. Accept the prompts by entering Y at most situations
apt update && apt upgrade
apt install coreutils

Install Nodejs

  • Install nodejs
apt install nodejs

Setup Storage and Permissions

  • Install storage service that will be able to manage storage
termux-setup-storage
  • Go to root directory
cd /sdcard
  • Add a directory where you will keep your node-projects
mkdir node-testing
cd node-testing

Node Program

  • add a file test.js to this folder for testing nodejs with some content
// test.js
console.log("Hello World")

  • Run this nodejs program
node test.js