mirror of https://github.com/coder/code-server.git
982 B
982 B
Running code-server using UserLAnd
- 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 16:
nvm install 16
nvm use 16
- Install code-server globally on device with:
npm install --global code-server --unsafe-perm
- Run code-server with
code-server
- Access on localhost:8080 in your browser
Running code-server using Nix-on-Droid
- 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