docs
API reference for the `turbo docs` command
Search the Turborepo documentation directly from the command line.
turbo docs <query>Usage
The docs command searches the Turborepo documentation and returns matching pages.
turbo docs "caching"Example output:
Found 5 results for 'caching':
1. Caching: https://v2-7-5.turborepo.dev/docs/core-concepts/caching
2. Remote Caching: https://v2-7-5.turborepo.dev/docs/core-concepts/remote-caching
3. Caching Tasks: https://v2-7-5.turborepo.dev/docs/crafting-your-repository/caching
4. Local Caching: https://v2-7-5.turborepo.dev/docs/core-concepts/local-caching
5. Cache Troubleshooting: https://v2-7-5.turborepo.dev/docs/troubleshooting/cache-issuesResults link to the versioned documentation site that matches your installed version of turbo.
Options
--docs-version
Override the documentation version to search. By default, turbo docs uses the version of turbo you have installed.
turbo docs "task dependencies" --docs-version 2.8.0Minimum version
The minimum supported version is 2.7.5.