code-server/docs/android.md
Asher 323a1f3234
Only require unsafe-perm if you are root
Remove it from the docs, as the error message should be sufficient and
it seems weird to recommend unsafe-perm by default.
2024-04-16 10:48:46 -08:00

968 B

Running code-server using UserLAnd

  1. Install UserLAnd from Google Play
  2. Install an Ubuntu VM
  3. Start app
  4. Install Node.js and curl using sudo apt install nodejs npm curl -y
  5. Install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
  1. Exit the terminal using exit and then reopen the terminal
  2. Install and use Node.js 18:
nvm install 18
nvm use 18
  1. Install code-server globally on device with: npm install --global code-server
  2. Run code-server with code-server
  3. Access on localhost:8080 in your browser

Running code-server using Nix-on-Droid

  1. Install Nix-on-Droid from F-Droid
  2. Start app
  3. Spawn a shell with code-server by running nix-shell -p code-server
  4. Run code-server with code-server
  5. Access on localhost:8080 in your browser