CLI Configuration¶
Configure the standalone OneSearch CLI client.
Config File¶
Located at:
- Linux/macOS: ~/.config/onesearch/config.yml
- Windows: %APPDATA%\onesearch\config.yml
Example:
Interactive login¶
Environment variables¶
Useful for scripts and CI:
export ONESEARCH_URL=http://infra-stack:8000
export ONESEARCH_TOKEN=xxxxx
onesearch search "compose" --json
Docker fallback¶
If you prefer not to install the standalone package on a machine, you can still run the bundled CLI from the app container:
See CLI Overview for details.