mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
1.5 KiB
1.5 KiB
Termux
Termux
Termux is an Android terminal application and Linux environment, which can also run code-server from your phone.
Installation
- Install Termux from the Google Play Store
- Make sure it's up-to-date by running
apt update && apt upgrade
- Install required packages:
apt install build-essential python git nodejs yarn
- Install code-server:
yarn global add code-server
- Run code-server:
code-server
and navigate to localhost:8080 in your browser
Upgrading
To upgrade run: yarn global upgrade code-server --latest
Known Issues
Search issue
There is a known issue with search not working on Android because it's missing bin/rg
. To fix:
- Install
ripgrep
withpkg
pkg install ripgrep
- Make a soft link using
ln -s
# run this command inside the code-server directory
ln -s $PREFIX/bin/rg ./lib/vscode/node_modules/vscode-ripgrep/bin/rg
For more context, see comment.