Claude Code creates version-numbered folders (e.g. 2.1.71/) in working directory on update

Status Closed — not planned
Reported on v2.1.71
Maintainer reply None cached
Activity 2 comments · opened Mar 9, 2026 · closed Apr 6, 2026

Bug Description

Claude Code appears to create empty folders named after its version number (e.g., 2.1.71/, 2.1.72/) in the current working directory, seemingly during auto-updates. On macOS, this also triggers a system permission prompt asking to allow folder access.

Steps to Reproduce

  1. Use Claude Code regularly (home directory as working directory)
  2. Wait for an auto-update to a new version
  3. Observe a new folder named after the version (e.g., 2.1.72/) in ~/

Expected Behavior

Claude Code should not create version-numbered folders in the user's working directory. Update artifacts should stay in Claude Code's own install/config directories.

Actual Behavior

  • Empty folders like ~/2.1.71/, ~/2.1.72/ appear after updates
  • macOS prompts for folder access permission each time

Environment

  • Platform: macOS (Darwin 25.4.0)
  • Claude Code version: latest (issue observed across multiple recent versions)

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗