claude init does not create .claude directory or CLAUDE.md file

Resolved 💬 3 comments Opened Mar 17, 2026 by whatch-healtheconnections Closed Apr 26, 2026

Bug

Running claude init in a directory does not create a .claude/ directory or a CLAUDE.md file. These are the two most fundamental artifacts of initializing Claude Code in a project, and users reasonably expect them to exist after running init.

Steps to reproduce

  1. cd into a directory
  2. Run claude init (or type init in an interactive session)
  3. Observe: no .claude/ directory created, no CLAUDE.md created

Expected behavior

claude init should create:

  • .claude/ directory
  • CLAUDE.md file (with basic scaffolding or prompts for the user to fill in)

Actual behavior

Neither is created. The session starts but the foundational project files are missing. Users have to manually create them, which defeats the purpose of an init command.

Environment

  • Platform: Linux (RHEL 9)
  • Claude Code CLI

View original on GitHub ↗

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