Allow a `-y` or similar flag with `claude migrate-installer` for non-tty environments.

Resolved 💬 5 comments Opened Jul 21, 2025 by harshmoorjani Closed Jan 4, 2026

I want the following in my Dockerfile -

RUN npm install -g @anthropic-ai/claude-code
RUN claude migrate-installer
RUN claude update

but it failes because migrate-installer wants me to press Enter before it will proceed and there is no way to do that in Dockerfile.

View original on GitHub ↗

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