mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
687 B
687 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