mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +01:00
e7e6c163ed
We tried to switch from `yarn` to `npm` because `yarn` ignores lockfiles but learned that we missed a few key things. For now, we are reverting docs and a few other changes that suggested using `npm` instead of `yarn` until we fully remove `yarn` from the codebase. t Please enter the commit message for your changes. Lines starting
24 lines
674 B
Markdown
24 lines
674 B
Markdown
# Running code-server using UserLAnd
|
|
|
|
1. Install UserLAnd from [Google Play](https://play.google.com/store/apps/details?id=tech.ula&hl=en_US&gl=US)
|
|
2. Install an Ubuntu VM
|
|
3. Start app
|
|
4. Install Node.js, `curl` and `yarn` using `sudo apt install nodejs npm yarn curl -y`
|
|
5. Install `nvm`:
|
|
|
|
```shell
|
|
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 14:
|
|
|
|
```shell
|
|
nvm install 14
|
|
nvm use 14
|
|
```
|
|
|
|
8. Install code-server globally on device with: `npm i -g code-server`
|
|
9. Run code-server with `code-server`
|
|
10. Access on localhost:8080 in your browser
|