You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/termux.md
+54Lines changed: 54 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
# Termux
4
4
5
5
-[Install](#install)
6
+
-[Yarn Installation](#yarn-installation)
6
7
-[Upgrade](#upgrade)
7
8
-[Known Issues](#known-issues)
8
9
-[Git won't work in `/sdcard`](#git-wont-work-in-sdcard)
@@ -65,6 +66,59 @@ curl -fsSL https://code-server.dev/install.sh | sh
65
66
> 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.\
66
67
> Learn how to add a user [here](#create-a-new-user).
67
68
69
+
## Yarn Installation
70
+
71
+
1. Get [Termux](https://f-droid.org/en/packages/com.termux/) from **F-Droid**.
72
+
73
+
2. We will now change using the following command.
74
+
75
+
```sh
76
+
termux-change-repo
77
+
```
78
+
79
+
Now select `Main Repository` then change repo to `Mirrors by Grimler Hosted on grimler.se`.
80
+
81
+
3. After successfully updating of repository update and upgrade all the packages by the following command
82
+
83
+
```sh
84
+
pkg update
85
+
pkg upgrade -y
86
+
```
87
+
88
+
4. Now let's install requirement dependancy.
89
+
90
+
```sh
91
+
pkg install -y \
92
+
build-essential \
93
+
binutils \
94
+
pkg-config \
95
+
python3 \
96
+
yarn \
97
+
nodejs-lts
98
+
npm config set python python3
99
+
node -v
100
+
```
101
+
102
+
you will get node version `v16.15.0`
103
+
104
+
5. Now install code-server
105
+
106
+
```sh
107
+
yarn global add code-server
108
+
```
109
+
110
+
6. Congratulation code-server is installed on your device using the following command.
111
+
112
+
```sh
113
+
code-server --auth none
114
+
```
115
+
116
+
7. If already installed then use the following command for upgradation.
117
+
118
+
```
119
+
yarn upgrade code-server
120
+
```
121
+
68
122
## Upgrade
69
123
70
124
1. Remove all previous installs `rm -rf ~/.local/lib/code-server-*`
0 commit comments