Installation | Custom Environment Variables | Loading Prompts | Troubleshooting | FAQ
Installation
Install CodeLayer (Recommended)
The easiest way to get started is to install the CodeLayer IDE, which provides a full-featured interface for AI-assisted development.macOS (Homebrew)
--no-quarantine flag to brew install or manually bypass the macOS quarantine in Security and Privacy settings.
Note: Optionally, opening from CLI rather than Spotlight/Raycast ensures CodeLayer inherits your shell environment including API keys and configuration.
Updating
To update your existing install, you can run the samebrew install command again.
Custom Environment Variables
If you need to set custom environment variables (e.g., for connecting to Bedrock or settingCLAUDE_BASE_MAINTAIN_WORKING_DIR=1),
you can set them in the env block of the built-in Claude Code Settings File
Loading Prompts
If you want to load the generic version of the HumanLayer prompts, check out this workshop gistTroubleshooting
- Logs can be found at
~/Library/Logs/dev.humanlayer.wui/CodeLayer.log - If you see errors about missing
mcp__codelayer__approvalstool, you’re missing thehumanlayerCLI - you need to install with brew, copying the app from a DMG won’t work - If install fails, ensure you’ve cleaned up all previous artifacts.
brew reinstallis worth a shot as well
FAQ
Where can I learn more?
There’s a super-thread of content we’ve shared on X: https://x.com/dexhorthy/status/1978676162495688719 You can collaborate with other codelayer users in the CodeLayer DiscordHow do I get all those fancy prompts I’ve heard about?
If you want to load the generic version of the HumanLayer prompts, check out this workshop gistHow do I use custom claude config / bedrock / env vars?
If you need to set custom environment variables (e.g., for connecting to Bedrock or settingCLAUDE_BASE_MAINTAIN_WORKING_DIR=1),
you can set them in the env block of the built-in Claude Code Settings File
Do you support git worktrees?
There’s no built-in worktree management YET, but you can launch CodeLayer from any directory including worktrees. Claude is very good at making and configuring worktrees for you as well, so you can ask it to do that. tip - use the humanlayer CLI (or ask claude to use it) to launch a session in a newly created worktree:How do I manage all the markdown docs
These features are coming to CodeLayer soon - in the meantime you can check out the HumanLayer Repo and ask claudehow does the thoughts system work?.
This will set you up with our v0 janky prototype of the thoughts system. More coming soon but there are at least a handful of
highly-motivated engineers using the system as it exists today.