[BUG] False positive PATH warning in Windows PowerShell

Resolved 💬 3 comments Opened Dec 16, 2025 by hyunbinseo Closed Dec 19, 2025

Preflight Checklist

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

What's Wrong?

C:\Users\hyunb\.local\bin is in my PATH but the warning is shown on claude update

# PowerShell 7.5.4

claude -v
# 2.0.46 (Claude Code)

claude update
# Current version: 2.0.46
# Checking for updates...
# 
# Warning: Native installation exists but C:\Users\hyunb\.local\bin is not in your PATH
# Fix: Add it by opening: System Properties → Environment Variables → Edit User PATH → New → Add the path above. Then restart your terminal.
# Successfully updated from 2.0.46 to version 2.0.65

claude -v
# 2.0.65 (Claude Code)

Get-Command claude
# CommandType     Name         Version    Source
# -----------     ----         -------    ------
# Application     claude.exe   2.0.65.0   C:\Users\hyunb\.local\bin\claude.exe

claude update
# Current version: 2.0.65
# Checking for updates...
#
# Warning: Native installation exists but C:\Users\hyunb\.local\bin is not in your PATH
# Fix: Add it by opening: System Properties → Environment Variables → Edit User PATH → New → Add the path above. Then restart your terminal.

What Should Happen?

This warning should not be shown:

Warning: Native installation exists but <path> is not in your PATH Fix: Add it by opening: System Properties → Environment Variables → Edit User PATH → New → Add the path above. Then restart your terminal.

Error Messages/Logs

Steps to Reproduce

  • Install 'native installation' of Claude Code
  • Setup PATH
  • Attempt to update it with claude update in PowerShell

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.70 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

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