File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 3
3
# Termux
4
4
5
5
- [ Install] ( #install )
6
- - [ Direct Installation - Yarn Installation] ( yarn-installation )
6
+ - [ Yarn Installation] ( # yarn-installation)
7
7
- [ Upgrade] ( #upgrade )
8
8
- [ Known Issues] ( #known-issues )
9
9
- [ Git won't work in ` /sdcard ` ] ( #git-wont-work-in-sdcard )
@@ -71,18 +71,22 @@ curl -fsSL https://code-server.dev/install.sh | sh
71
71
1 . Get [ Termux] ( https://f-droid.org/en/packages/com.termux/ ) from ** F-Droid** .
72
72
73
73
2 . We will now change using the following command.
74
+
74
75
``` sh
75
76
termux-change-repo
76
77
```
78
+
77
79
Now select ` Main Repository ` then change repo to ` Mirrors by Grimler Hosted on grimler.se ` .
78
80
79
81
3 . After successfully updating of repository update and upgrade all the packages by the following command
82
+
80
83
``` sh
81
84
pkg update
82
85
pkg upgrade -y
83
86
```
84
87
85
88
4 . Now let's install requirement dependancy.
89
+
86
90
``` sh
87
91
pkg install -y \
88
92
build-essential \
@@ -94,22 +98,27 @@ pkg install -y \
94
98
npm config set python python3
95
99
node -v
96
100
```
101
+
97
102
you will get node version ` v16.15.0 `
98
103
99
104
5 . Now install code-server
105
+
100
106
``` sh
101
107
yarn global add code-server
102
108
```
109
+
103
110
6 . Congratulation code-server is installed on your device using the following command.
111
+
104
112
``` sh
105
113
code-server --auth none
106
114
```
115
+
107
116
7 . If already installed then use the following command for upgradation.
117
+
108
118
```
109
119
yarn upgrade code-server
110
120
```
111
121
112
-
113
122
## Upgrade
114
123
115
124
1 . Remove all previous installs ` rm -rf ~/.local/lib/code-server-* `
You can’t perform that action at this time.
0 commit comments