[BUG] Installation instructions for fish shell are incorrect

Resolved 💬 4 comments Opened Mar 8, 2026 by macintacos Closed Apr 6, 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?

When you install Claude Code using the recommended installer in the documentation, you get this message after the installation is wrapping up:

⚠ Setup notes:
  • Native installation exists but ~/.local/bin is not in your PATH. Run:

  echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.config/fish/config.fish &&
  source ~/.config/fish/config.fish

This is just straight-up incorrect, and will not do what is intended. Fish is a very popular shell, so it should provide appropriate instructions for that shell.

What Should Happen?

It should give proper instructions for adding ~/.local/bin to your PATH. My suggestion would be to use fish_add_path.

Error Messages/Logs

Steps to Reproduce

Just run the installer script in a fish shell. As of writing, that command is:

curl -fsSL https://claude.ai/install.sh | bash

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.71

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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