Vercel

docs

API reference for the `turbo docs` command

Search the Turborepo documentation directly from the command line.

Terminal
turbo docs <query>

Usage

The docs command searches the Turborepo documentation and returns matching pages.

Terminal
turbo docs "caching"

Example output:

Terminal
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-issues

Results 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.

Terminal
turbo docs "task dependencies" --docs-version 2.8.0

Minimum version

The minimum supported version is 2.7.5.