-
Notifications
You must be signed in to change notification settings - Fork 11
Configuration
PsProsen-Dev edited this page Mar 9, 2026
·
1 revision
The OCA environment is highly isolated inside Termux to prevent interference with your Android device.
-
~/.oca: Main installation directory. -
~/.oca/node: Target Node.js v24 environment patched with glibc-compat. -
~/.oca/bin: Binaries and executable scripts foroca.
OCA installs a CLI tool (oca) that allows you to manage the environment easily from anywhere inside Termux.
Checks whether Node.js, npm, glibc wrapper, and default applications are installed correctly.
oca --statusIf there is a new script or Node patch available upstream, run this to update your environment automatically.
oca --updateOCA automatically manages its path priorities inside your .bashrc. It prepends the glibc-wrapper environment variables (OCA_GLIBC=1) so that standard node commands work natively.
If you need custom variables (e.g., API keys for OpenAI/Anthropic), you can add them at the bottom of:
nano ~/.bashrc