Tech
suddo – sudo password prompts without leaving your AI agent's chat
# suddo (superuser don't do)
Sometimes AI needs to run commands with sudo (installing a package,
reading a file in /etc, etc). But most MCP clients don't support
creating a PTY, so you end up having to open a separate terminal
just to type your password:
claude code $ sudo cat /etc/hosts
AI: blabla password:
> ! sudo cat /etc/hosts
AI: please open a new terminal.
Annoying.
With suddo:
...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to