Skip to content

How is .env file handled? #36

Closed as duplicate
Closed as duplicate

Description

@jungdaesuh

Does Claude Code automatically rule out the .env file from reading?

Activity

  1. bcherny commented on Feb 24, 2025

    @bcherny
    Collaborator

    It doesn't -- Claude can read any file in the directory you start it in.

  2. added
    questionIssue is asking a question about how Claude Code works, or similar
    on Feb 24, 2025
  3. jungdaesuh commented on Feb 24, 2025

    @jungdaesuh
    Author
    Image

    Any plan to update this?

  4. github-actions commented on Aug 9, 2025

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  5. locked as resolved and limited conversation to collaborators on Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssue is asking a question about how Claude Code works, or similar

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions