- Download Iterm2.
- Import profile.json.
- Apply the JetBrainsMono Nerd Font by following this guide, font size should be 14.
- Remap the Caps Locks key to the Ctrl key.
- See this guide.
- Add SSH client configuration.
- Add config inside the
~/.sshdirectory.
- Add config inside the
Run Claude Code inside the devcontainer from the desktop app via the SSH Session feature.
- Ensure an SSH key exists at
~/.ssh/id_ed25519. If not:ssh-keygen -t ed25519 -C "macbookpro". - Copy ssh/config to
~/.ssh/config(same as step 3 above) — this defines thedevcontainerhost alias. - Build and start the container:
./run.sh up. The script installs your public key into the container'sauthorized_keysand starts sshd. - In the Claude Code desktop app, open the environment dropdown → + Add SSH connection.
- Name:
devcontainer - SSH Host:
devcontainer - Leave SSH Port and Identity File empty (resolved via
~/.ssh/config). - Save.
- Name:
- Select the
devcontainerenvironment to start a Claude Code session inside the container. - For a terminal shell into the container, run
./run.sh. When done,./run.sh downremoves it.
For more information about devcontainers, visit this post from my site.
