webstash-cli and exposes the webstash command.
Install
Authenticate
API key login is the simplest path:Config location
The CLI stores config in:- macOS and Linux:
~/.config/webstash/config.json - Windows:
%APPDATA%/webstash/config.json
WEBSTASH_CONFIG_DIR.
Default API URL
The default API URL is:--api-url or WEBSTASH_API_URL.
Command reference
Use the generated CLI command reference for the full command list, options, and examples. Common starting points:context sits between search and ask: it returns many ranked pages with
summaries packed to a token budget you set, at no AI-quota cost, so your own
model can do the reasoning. ask spends quota to have the server answer.
JSON mode
Use--json for scripting:
Best use cases
Use the CLI when you want:- shell-friendly save and search
- CI or local scripting
- repeatable developer workflows
- a lightweight alternative to the full web app
