Query Apple developer documentation from your terminal
demo.mp4
brew install aayush9029/tap/doqOr tap first:
brew tap aayush9029/tap
brew install doqdoq # launch interactive TUI
doq search View # search for symbols
doq info View # full declaration + docs
doq list # list indexed frameworks
doq index # build index (curated ~30 frameworks)
doq index Swift Foundation # index specific frameworks
doq index --all # index all ~295 SDK frameworks
doq docs # launch semantic docs TUI (macOS 26+)
doq docs search "swift testing"
doq docs get /documentation/Testing- Runs
xcrun swift symbolgraph-extractto generate JSON symbol graphs from Xcode's SDKs - Parses symbol graphs for declarations, doc comments, availability, and relationships
- Builds a SQLite FTS5 index at
~/.local/share/doq/index.db - Queries the index with ranked full-text search
On macOS 26+, doq docs uses Apple's local documentation asset plus the system embedding and vector search frameworks.
MIT