Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 574 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 574 Bytes

Linux dev environment on Android

A full Linux command line on an Android phone, ready for Node.js work, with no root needed.

Setup

  1. Install Termux from F-Droid.
  2. Update packages: pkg update && pkg upgrade
  3. Install a Linux distro with Andronix or proot-distro install ubuntu
  4. Log in: proot-distro login ubuntu
  5. Install tools: apt update && apt install -y nodejs npm git
  6. Check it works: node -v && npm -v

Test app

server.js starts a small web server on port 3000. Run node server.js and open http://localhost:3000 in the phone's browser.