Claude Code only sees one folder This flag give...
TIKTOK

Claude Code only sees one folder This flag gives it access to your entire workspace claudeai anthropic claudecode llm coding

Mar 14, 2026
138 words 90% confidence
Cloud Code only sees your current project folder by default. This one flag gives it access to any folder on your machine. By default, Cloud Code only has access to the folder you launched it from. Your docs are somewhere else, your codebase is somewhere else, your notes are somewhere else. Every time you need context, you're copying and pasting it manually. It's a flag called dash dash add dir. Using this exact command, Cloud Code can now read, pull, and reference all those directories from the same project folder. Add your API documentation. Add a codebase you're trying to match the style of. Add your personal knowledge base. It can cross-reference all of this while working in your project. You're not giving it one folder, you're giving it a whole workspace. Comment dirs for the full setup.

Using the '--add-dir' flag allows Cloud Code to access multiple folders, enhancing its ability to reference documentation and codebases, streamlining your workflow.

  1. Cloud Code only accesses the current project folder by default.
  2. The flag '--add-dir' allows access to any folder on your machine.
  3. This command enables Cloud Code to read and reference multiple directories.
  4. You can add API documentation and codebases for context.
  5. It helps avoid manual copying and pasting of information.
  6. This setup provides a comprehensive workspace for Cloud Code.
  • LinkedIn post: How to set up Cloud Code for better access
  • Tweet: Benefits of using '--add-dir' with Cloud Code
  • Checklist: Steps to configure Cloud Code for your workspace

Save videos. Search everything.

Build your personal library of inspiration. Find any quote, hook, or idea in seconds.

Create Free Account No credit card required
Original