Android
- Install UserLAnd from Google Play
- Install an Ubuntu VM
- Start app
- Install Node.js and
curl
usingsudo apt install nodejs npm curl -y
- Install
nvm
:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
- Exit the terminal using
exit
and then reopen the terminal - Install and use Node.js 20:
nvm install 18
nvm use 18
- Install code-server globally on device with:
npm install --global code-server
- Run code-server with
code-server
- Access on localhost:8080 in your browser
- Install Nix-on-Droid from F-Droid
- Start app
- Spawn a shell with code-server by running
nix-shell -p code-server
- Run code-server with
code-server
- Access on localhost:8080 in your browser
See an opportunity to improve our docs? Make an edit.