⌨️--environment Flag
Also known as claude --environment, --environment, --ref
It starts a cloud session on your own machines.
Think of it like
It is like you bake the cake at home. You do not buy it at the shop.
Example
Jack's company keeps code inside its own network. He runs claude --environment with the team's pool ID, and the task runs on the company's machines.
Why it matters
You get cloud sessions, and the code stays on machines your team owns.
Definition
Example code
bash
claude -p "Run the smoke test" --environment ccpool_abc123 --ref mainCommon mistake
Key takeaways
- 1Your own pool. Not Anthropic's.
- 2ccpool_ ID. Not a name.
- 3--ref. Start from a branch.