requirements:
- the first thing you should have is termux
- the second thing is a code editor (recommend Acode).
installation:
- update and upgrade termux env
apt upgrade -y
apt update -y
- install nodeJs we can install nodejs by running:
pkg install nodejs-lts
pkg install nodejs
- running Nextjs
open termux app then clone this repo git clone repURL
.
before running this reop you should be installing this package @next/swc-android-arm-eabi by running this command:
npm i -g @next/swc-android-arm-eabi
after that move to root dir cd next
and run npm install && npm run dev
and congratulations 🎉 the nextJs server http://localhost:3000
now running on your termux