8000 Update termux.md by mrfoxie · Pull Request #5233 · coder/code-server · GitHub
[go: up one dir, main page]

Skip to content

Update termux.md #5233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update termux.md
yarn Installation works perfectly fine in mine👍🏻
  • Loading branch information
mrfoxie authored May 29, 2022
commit f47c764c5a47fd24172b577c709e403547e7ab9b
18 changes: 18 additions & 0 deletions docs/termux.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Termux

- [Install](#install)
- [Direct Installation](yarn-installation)
- [Upgrade](#upgrade)
- [Known Issues](#known-issues)
- [Git won't work in `/sdcard`](#git-wont-work-in-sdcard)
Expand Down Expand Up @@ -65,6 +66,23 @@ curl -fsSL https://code-server.dev/install.sh | sh
> Consider using a new user instead of root, read [here](https://www.howtogeek.com/124950/htg-explains-why-you-shouldnt-log-into-your-linux-system-as-root/) why using root is not recommended.\
> Learn how to add a user [here](#create-a-new-user).

## Yarn Installation

1. Get [Termux](https://f-droid.org/en/packages/com.termux/) from **F-Droid**.
2. Install necessary packages
```
pkg install -y \
build-essential \
pkg-config \
python3 \
yarn
npm config set python python3
```
3. Now install code-server
```
yarn global add code-server
code-server --auth none
```
## Upgrade

1. Remove all previous installs `rm -rf ~/.local/lib/code-server-*`
Expand Down
0