Who it is forA backend developer whose test suite needs both an OpenAI key and a GitHub token.
The problemRepeating several key flags on every command is error-prone.
The outcomeA reusable group that injects the same set of keys every time.
What you need first
- macOS
- Swift toolchain to build from source
Steps
- Create a group with
envlatch groups create "Backend" --using OPENAI_API_KEY --using GITHUB_TOKEN - Run
envlatch run --using "Backend" -- npm test - Start the server with
envlatch run --using "Backend" -- python3 server.py - List groups with
envlatch groups
Prompt for your agent
Create an EnvLatch group named <name> with <keys>, run `envlatch run --using "<name>" -- npm test`, and report whether tests pass. Confirm no .env file was used.
Caveat. Group membership is by exact key names, so renaming a key breaks the group.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Raylinkh/envlatch and "Run tests and servers with a saved key group"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer