claude-code - 💡(How to fix) Fix [BUG] "Instalação no Windows PowerShell retorna vazio" [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54150Fetched 2026-04-29 06:34:54
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×2

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Executei a instalação várias vezes com: irm https://claude.ai/install.ps1 | iex

O comando retorna vazio, sem erros ou mensagens. Criei a pasta manualmente, mas continua não funcionando.

What Should Happen?

O comando claude --version deveria retornar a versão instalada.

Error Messages/Logs

Steps to Reproduce

  1. Abrir PowerShell como Admin
  2. Executar: irm https://claude.ai/install.ps1 | iex
  3. Aguardar conclusão
  4. Executar: claude --version
  5. Nenhuma saída aparece

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

claude --version

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

extent analysis

TL;DR

The issue might be resolved by investigating the installation script and its output to identify any potential errors or issues that are not being displayed.

Guidance

  • Verify that the installation script https://claude.ai/install.ps1 is correctly downloaded and executed by checking the script's content and running it manually.
  • Check the PowerShell execution policy to ensure it allows the execution of scripts, as this might prevent the installation script from running correctly.
  • Try running the installation command with elevated privileges to ensure that the script has the necessary permissions to install the required components.
  • Investigate the claude --version command to see if it's correctly configured and if there are any environment variables or dependencies that need to be set.

Example

No code example is provided as the issue does not contain sufficient information about the installation script or the claude --version command.

Notes

The issue lacks detailed error messages or logs, making it challenging to provide a precise solution. The guidance provided is based on general troubleshooting steps for PowerShell script execution and installation issues.

Recommendation

Apply workaround: Investigate the installation script and its output to identify potential errors or issues, as the problem might be related to the script's execution or the environment configuration.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING