Turborepo support / guide for cursor cloud

Is there a guide / setup for turborepo specifically nested envs for projects?

Hey, there isn’t a Turborepo-specific guide, but Cursor Cloud covers monorepo setups through the general configuration.

A few things that should help:

  1. Environment setup: configure .cursor/environment.json in your repo root with an install command like pnpm install since Turborepo handles the rest. Docs: Setup | Cursor Docs

  2. Multiple .env files: if each app or package has its own .env.local, add all values in the Secrets tab on the dashboard. Use unique prefixes when keys overlap, for example WEB_DB_URL, API_DB_URL. The agent picks them up as environment variables.

  3. AGENTS.md: add a section with Turborepo-specific instructions so the agent knows how to navigate your monorepo structure, which packages exist, and how to run and test each one. Docs: Rules | Cursor Docs

Can you clarify what you mean by “nested envs”? Is it about different .env files per package, or different runtime environments per app, like separate Node versions or different install steps? That’ll help me point you in the right direction.