Skip to content

claude-code: "-g" switch no longer supported #230561

@bassco

Description

@bassco

Documentation is outdated.

The "-g" switch causes an error when executed.

claude config -g set autoUpdates false
error: unknown option '-g'

`claude config set -g autoUpdates false` and use

Claude responded with:

The -g flag isn't valid for claude config set. Try:

claude config set autoUpdates false

This sets it globally by default. If you need to confirm the syntax, run claude config --help to see available options.

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