Skip to content

Can't enable automatic updates on Windows with the "manually fix permissions on current npm prefix" option #103

Description

@evanwon

Platform: Windows 11 24H2
Shell: Git CLI (MINGW64)
npm version: 10.9.2
node version: 22.14.0
Claude Code: v0.2.9

When I run Claude Code, I get the "Enable automatic updates?" prompt.

When I select "Manually fix permissions on current npm prefix (Recommended)", it gives me the following command to run:

Run this command in your terminal:                                                                               │
│     icacls "" /grant "%USERNAME%:(OI)(CI)F"                                                                          │
│     After running the command, restart Claude Code 

Running this command as-is yields:

C:\Users\evanw\src\claude-test>icacls "" /grant "%USERNAME%:(OI)(CI)F"
: The system cannot find the path specified.
Successfully processed 0 files; Failed processing 1 files

Which I'm assuming is because of the empty quotes after icacls, but I'm not sure. Since the command fails, I cannot enable automatic updats.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions