Skip to content

Commit 6b65c5c

Browse files
committed
Format new docs
1 parent 6dc7965 commit 6b65c5c

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/termux.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Termux
44

55
- [Install](#install)
6-
- [Direct Installation - Yarn Installation](yarn-installation)
6+
- [Yarn Installation](#yarn-installation)
77
- [Upgrade](#upgrade)
88
- [Known Issues](#known-issues)
99
- [Git won't work in `/sdcard`](#git-wont-work-in-sdcard)
@@ -71,18 +71,22 @@ curl -fsSL https://code-server.dev/install.sh | sh
7171
1. Get [Termux](https://f-droid.org/en/packages/com.termux/) from **F-Droid**.
7272

7373
2. We will now change using the following command.
74+
7475
```sh
7576
termux-change-repo
7677
```
78+
7779
Now select `Main Repository` then change repo to `Mirrors by Grimler Hosted on grimler.se`.
7880

7981
3. After successfully updating of repository update and upgrade all the packages by the following command
82+
8083
```sh
8184
pkg update
8285
pkg upgrade -y
8386
```
8487

8588
4. Now let's install requirement dependancy.
89+
8690
```sh
8791
pkg install -y \
8892
build-essential \
@@ -94,22 +98,27 @@ pkg install -y \
9498
npm config set python python3
9599
node -v
96100
```
101+
97102
you will get node version `v16.15.0`
98103

99104
5. Now install code-server
105+
100106
```sh
101107
yarn global add code-server
102108
```
109+
103110
6. Congratulation code-server is installed on your device using the following command.
111+
104112
```sh
105113
code-server --auth none
106114
```
115+
107116
7. If already installed then use the following command for upgradation.
117+
108118
```
109119
yarn upgrade code-server
110120
```
111121

112-
113122
## Upgrade
114123

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

0 commit comments

Comments
 (0)