Android | Usage | code-server Docs

Android Installation Instructions for code-server

  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
    
  6. Exit the terminal using exit and then reopen the terminal

  7. Install and use Node.js 22:

    nvm install 22
    nvm use 22
    
  8. Install code-server globally on the device with:
    npm install --global code-server

  9. Run code-server with code-server

  10. Access on localhost:8080 in your browser


  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