docs(install): add termux section

This commit is contained in:
Joe Previte 2021-03-09 11:36:21 -07:00
parent c801a98e33
commit 781532c22d
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
1 changed files with 13 additions and 0 deletions

View File

@ -9,6 +9,7 @@
- [Debian, Ubuntu](#debian-ubuntu) - [Debian, Ubuntu](#debian-ubuntu)
- [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse) - [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse)
- [Arch Linux](#arch-linux) - [Arch Linux](#arch-linux)
- [Termux](#termux)
- [yarn, npm](#yarn-npm) - [yarn, npm](#yarn-npm)
- [macOS](#macos) - [macOS](#macos)
- [Standalone Releases](#standalone-releases) - [Standalone Releases](#standalone-releases)
@ -121,6 +122,18 @@ sudo systemctl enable --now code-server@$USER
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
``` ```
## Termux
Termux is an Android terminal application and Linux environment, which can also run code-server from your phone.
1. Install Termux from the [Google Play Store](https://play.google.com/store/apps/details?id=com.termux&hl=en_US&gl=US)
2. Make sure it's up-to-date by running `apt update && apt upgrade`
3. Install required packages: `apt install build-essential python git nodejs yarn`
4. Install code-server: `yarn global add code-server`
5. Run code-server: `code-server` and navigate to localhost:8080 in your browser
To upgrade run: `yarn global upgrade code-server --latest`
## yarn, npm ## yarn, npm
We recommend installing with `yarn` or `npm` when: We recommend installing with `yarn` or `npm` when: