Skip to content

Commit dd0d7d5

Browse files
committed
docs(termux): add workaround for search
1 parent 02beb9b commit dd0d7d5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/install.md

+18
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse)
1111
- [Arch Linux](#arch-linux)
1212
- [Termux](#termux)
13+
- [Known Search Issue](#known-search-issue)
1314
- [yarn, npm](#yarn-npm)
1415
- [macOS](#macos)
1516
- [Standalone Releases](#standalone-releases)
@@ -134,6 +135,23 @@ Termux is an Android terminal application and Linux environment, which can also
134135

135136
To upgrade run: `yarn global upgrade code-server --latest`
136137

138+
### Known Search Issue
139+
140+
There is a known issue with search not working on Android because it's missing `bin/rg`. To fix:
141+
142+
1. Install `ripgrep` with `pkg`
143+
```sh
144+
pkg install ripgrep
145+
```
146+
2. Make a soft link using `ln -s`
147+
148+
```sh
149+
# run this command inside the code-server directory
150+
ln -s $PREFIX/bin/rg ./lib/vscode/node_modules/vscode-ripgrep/bin/rg
151+
```
152+
153+
For more context, see [comment](https://github.com/cdr/code-server/issues/1730#issuecomment-721515979).
154+
137155
## yarn, npm
138156

139157
We recommend installing with `yarn` or `npm` when:

0 commit comments

Comments
 (0)