[BUG] config get does not work correctly

Resolved 💬 5 comments Opened Aug 4, 2025 by jtnord Closed Jan 3, 2026

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [x] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.67 (Claude Code)
  • Operating System: Windows 11 24H2
  • Terminal: Windows Terminal 1.22.11141.0 (cmd.exe with clink)

Bug Description

claude config get --global env does not work and shows empty configuration when configuration is present.

Steps to Reproduce

  1. start cmd.exe
  2. install claude following the native (beta) instructions https://docs.anthropic.com/en/docs/claude-code/setup#native-binary-installation-beta
  3. configure claude to use aws bedrock claude config set --global env "{\"CLAUDE_CODE_USE_BEDROCK\": \"true\", \"AWS_PROFILE\": \"cloudbees-bedrock-claude-infra-bedrock-viewer\" }
  4. run claude config get --global env to validate the configuration is set

Expected Behavior

The configuration just set is returned

Actual Behavior

❯ claude config get --global env
{}

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

The config is actually correct and used as reported by claude /status

 API Configuration
  L API Provider: AWS Bedrock
  L AWS Region: us-east-1

View original on GitHub ↗

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