[BUG] install.sh assumes .zshrc exists and silently fails to add the PATH export when it doesn't.

Resolved 💬 3 comments Opened Jan 29, 2026 by psutter Closed Feb 2, 2026

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?

install.sh assumes .zshrc exists and silently fails to add the PATH export when it doesn't. result is that user gets "not found" error for the claude command, and ends up reinstalling several times

What Should Happen?

should either create the .zshrc file, or give a warning message explaining how to fix the problem

Error Messages/Logs

Steps to Reproduce

install on a Mac with no .zshrc

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.23

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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