Skip to content

Feature/support powershell#2

Open
ericburcham wants to merge 3 commits intoburakdede:mainfrom
ericburcham:feature/support-powershell
Open

Feature/support powershell#2
ericburcham wants to merge 3 commits intoburakdede:mainfrom
ericburcham:feature/support-powershell

Conversation

@ericburcham
Copy link

Adds PowerShell support and documentation for users on Windows without WSL or other bash support.

$claudePaths = @(
(Join-Path $LocalAppData "Programs\Claude"),
(Join-Path $LocalAppData "Claude"),
(Join-Path $env:USERPROFILE ".local\bin")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably deletes the entire ~\.local\bin entry whenever present, even after claude.exe is removed.

Isn't this directory commonly holds unrelated user tools (npm globals, Python scripts)?

We don't want to silently break other CLIs. We can be surgical here in terms of deletion.


$registryPaths = @(
"HKCU:\Software\Claude",
"HKCU:\Software\Anthropic",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This removes HKCU:\Software\Anthropic and HKLM:\Software\Anthropic wholesale.

If any other Anthropic products exist now or later, their settings/licensing would be wiped.

"HKCU:\Software\Anthropic",
"HKCU:\Software\Anthropic\Claude Code",
"HKLM:\Software\Claude",
"HKLM:\Software\Anthropic",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not a windows/powershell user myself but do these require elevated access (admin) to execute?

@burakdede
Copy link
Owner

Thanks for the PR!

I don't have active Windows installation to test so if you can test on Windows and report back, I would be happy to merge after changes.

@Evil0ctal
Copy link

Hi guys, Is there any test done on this powershell yet?

@ericburcham
Copy link
Author

ericburcham commented Dec 3, 2025 via email

@Evil0ctal
Copy link

Okay, thank you for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants