Notes, page 3
2026-10-13 · 9 min
Fix Claude Code memory limits on Windows
Increase the memory available to Claude Code on Windows to prevent crashes during large codebase analysis or long sessions.
2026-10-13 · 8 min
Fix Claude Code not a tty error
Solve the not a tty error when running Claude Code in specific terminal emulators or nested shell environments.
2026-10-13 · 6 min
Fix Claude Code nvm command not found
Resolve path issues where Claude Code cannot find Node versions managed by nvm when executing build commands or running local scripts.
2026-10-13 · 8 min
Fix Claude Code patch failed to apply
What to do when Claude Code generates a code diff that fails to apply to your local files due to formatting or version drift.
2026-10-13 · 8 min
Fix Claude Code permission denied errors
Resolve common filesystem and execution permission issues that prevent Claude Code from reading files or running shell scripts.
2026-10-13 · 11 min
Fix Claude Code session expired error
Resolve authentication timeouts and session expired messages that interrupt active Claude Code terminal workflows and require a re-login.
2026-10-13 · 9 min
Fix Claude Code symlink reading errors
Troubleshoot issues where Claude Code fails to follow symbolic links or reports that linked files do not exist in the project tree.
2026-10-13 · 11 min
Fix Claude Code utf-8 encoding errors
Resolve character encoding issues when Claude Code reads files containing non-ascii characters or specific language symbols.
2026-10-13 · 9 min
Fix Claude Code vs ESLint auto fix loops
Prevent Claude Code from entering an infinite loop of trying to fix linting errors that are immediately reverted by local auto-save formatters.
2026-10-13 · 8 min
Fix JSON errors in Claude CLI output
Troubleshoot malformed JSON responses from the Claude Code tool that prevent the terminal from rendering the result.
2026-10-13 · 8 min
Fix network timeouts during Claude tasks
Troubleshoot connection drops that occur while Claude Code is uploading large files or processing complex prompts.
2026-10-13 · 7 min
Fix permission denied on macOS folders
Grant the necessary permissions to Claude Code so it can modify files in protected directories on macOS Sonoma and Sequoia.
2026-10-13 · 7 min
Fix slow grep in Claude Code
Improve the performance of project-wide searches in Claude Code by identifying why the search tool is lagging or timing out on large codebases.
2026-10-13 · 8 min
Fix tool execution denied in Claude Code
Troubleshoot permission errors when Claude Code attempts to run a local tool or script that your system has blocked.
2026-10-13 · 8 min
Force Claude Code to follow a specific indentation style
Configure your project settings so that Claude always uses your preferred tabs or spaces when writing or refactoring code.
2026-10-13 · 8 min
Force Claude Code to skip y/n prompts
Configure Claude Code to automatically accept or skip interactive terminal prompts that cause the agent to wait indefinitely for user input.
2026-10-13 · 7 min
Force Claude Code to use a specific shell
Learn how to configure Claude Code to use Zsh, Bash, or PowerShell instead of the default system shell for executing commands.
2026-10-13 · 8 min
Formatting instructions inside CLAUDE.md
Use specific markdown structures to ensure Claude Code correctly interprets your build commands and test suite locations.
2026-10-13 · 7 min
Generate unit tests using Claude Code
Use Claude Code to analyse existing functions and automatically write comprehensive unit tests that cover edge cases and errors.
2026-10-13 · 8 min
Get desktop alerts for Claude Code tasks
Set up a custom shell hook to trigger a desktop notification as soon as Claude Code finishes a long running background task.
2026-10-13 · 7 min
Give Claude Code access to a web URL
Use the command line to provide Claude Code with a specific documentation URL so it can reference the latest external API docs.
2026-10-13 · 9 min
Give Claude Code sudo permissions
How to safely configure Claude Code to execute administrative commands when needed for system-level configuration or server setup.
2026-10-13 · 8 min
Handle Claude Code waiting for input
Stop Claude Code from pausing indefinitely when a background command expects a user response that is hidden from the terminal.
2026-10-13 · 8 min
Handle read-only file errors in Claude
Fix errors that occur when Claude Code tries to edit files that are locked by other processes or marked as read-only.